Trait glib::object::ObjectExt [] [src]

pub trait ObjectExt: IsA<Object> {
    fn get_type(&self) -> Type;
fn set_property<'a, N: Into<&'a str>>(
        &self,
        property_name: N,
        value: &Value
    ) -> Result<(), BoolError>;
fn get_property<'a, N: Into<&'a str>>(
        &self,
        property_name: N
    ) -> Result<Value, BoolError>;
fn has_property<'a, N: Into<&'a str>>(
        &self,
        property_name: N,
        type_: Option<Type>
    ) -> Result<(), BoolError>;
fn get_property_type<'a, N: Into<&'a str>>(
        &self,
        property_name: N
    ) -> Option<Type>;
fn connect<'a, N, F>(
        &self,
        signal_name: N,
        after: bool,
        callback: F
    ) -> Result<u64, BoolError>
    where
        N: Into<&'a str>,
        F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static
;
fn emit<'a, N: Into<&'a str>>(
        &self,
        signal_name: N,
        args: &[&Value]
    ) -> Result<Option<Value>, BoolError>;
fn downgrade(&self) -> WeakRef<Self>; }

Required Methods

Implementors