gtk4::subclass::widget

Trait CompositeTemplateCallbacksClass

Source
pub trait CompositeTemplateCallbacksClass {
    // Required method
    fn bind_template_callbacks(&mut self);
}
Expand description

An extension trait for ClassStruct types to allow binding private template callbacks directly on self. This is a convenience wrapper around the CompositeTemplateCallbacks trait.

Required Methods§

Source

fn bind_template_callbacks(&mut self)

Binds the template callbacks from the subclass type into the default template scope for self.

Implementors§