Trait gtk4::subclass::widget::CompositeTemplateClass
source · pub trait CompositeTemplateClass {
fn bind_template(&mut self);
}
Expand description
An extension trait for ClassStruct
types to allow
binding a composite template directly on self
. This is a convenience wrapper around
the CompositeTemplate
trait.
Required Methods§
sourcefn bind_template(&mut self)
fn bind_template(&mut self)
Binds the template callbacks from this type into the default template scope for self
.