Struct glib::object::Ref
[−]
[src]
pub struct Ref(_);
A reference to any GObject descendant.
Methods
impl Ref
fn from_glib_none(ptr: *mut GObject) -> Ref
Transfer: none constructor.
fn from_glib_full(ptr: *mut GObject) -> Ref
Transfer: full constructor.
fn to_glib_none(&self) -> *mut GObject
Returns a transfer: none raw pointer.
fn to_glib_full(&self) -> *mut GObject
Returns a transfer: full raw pointer.