pub trait ObjectExt: IsA<Object> {
Show 19 methods fn get_type(&self) -> Type; fn set_property<'a, N>(
        &self,
        property_name: N,
        value: &dyn ToValue
    ) -> Result<(), BoolError>
    where
        N: Into<&'a str>
; fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError>
    where
        N: Into<&'a str>
; fn has_property<'a, N>(
        &self,
        property_name: N,
        type_: Option<Type>
    ) -> Result<(), BoolError>
    where
        N: Into<&'a str>
; fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type>
    where
        N: Into<&'a str>
; fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec>
    where
        N: Into<&'a str>
; fn list_properties(&self) -> Vec<ParamSpec, Global>; fn block_signal(&self, handler_id: &SignalHandlerId); fn unblock_signal(&self, handler_id: &SignalHandlerId); fn stop_signal_emission(&self, signal_name: &str); fn connect<'a, N, F>(
        &self,
        signal_name: N,
        after: bool,
        callback: F
    ) -> Result<SignalHandlerId, BoolError>
    where
        N: Into<&'a str>,
        F: 'static + Fn(&[Value]) -> Option<Value> + Send + Sync
; fn emit<'a, N>(
        &self,
        signal_name: N,
        args: &[&dyn ToValue]
    ) -> Result<Option<Value>, BoolError>
    where
        N: Into<&'a str>
; fn disconnect(&self, handler_id: SignalHandlerId); fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId
    where
        P: Into<Option<&'a str>>,
        F: 'static + Fn(&Self, &ParamSpec) + Send + Sync
; fn notify<'a, N>(&self, property_name: N)
    where
        N: Into<&'a str>
; fn notify_by_pspec(&self, pspec: &ParamSpec); fn downgrade(&self) -> WeakRef<Self>; fn bind_property<'a, O, N, M>(
        &'a self,
        source_property: N,
        target: &'a O,
        target_property: M
    ) -> BindingBuilder<'a, Self, O>
    where
        O: IsA<Object>,
        N: Into<&'a str>,
        M: Into<&'a str>
; fn ref_count(&self) -> u32;
}

Required Methods

Implementors