glib::subclass::object

Trait ObjectImplExt

Source
pub trait ObjectImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_constructed(&self) { ... }
    fn parent_notify(&self, pspec: &ParamSpec) { ... }
    fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec]) { ... }
    fn signal_chain_from_overridden(
        &self,
        token: &SignalClassHandlerToken,
        values: &[Value],
    ) -> Option<Value> { ... }
}

Provided Methods§

Source

fn parent_constructed(&self)

Chain up to the parent class’ implementation of glib::Object::constructed().

Source

fn parent_notify(&self, pspec: &ParamSpec)

Chain up to the parent class’ implementation of glib::Object::notify().

Source

fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().

Source

fn signal_chain_from_overridden( &self, token: &SignalClassHandlerToken, values: &[Value], ) -> Option<Value>

Chain up to parent class signal handler.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§