Trait gtk4::subclass::widget::CompositeTemplate
source · pub trait CompositeTemplate: WidgetImpl {
// Required methods
fn bind_template(klass: &mut Self::Class);
fn check_template_children(widget: &<Self as ObjectSubclass>::Type);
}
Expand description
A trait for setting up template children inside
class_init
. This
trait is implemented automatically by the
CompositeTemplate
macro.
Required Methods§
fn bind_template(klass: &mut Self::Class)
fn check_template_children(widget: &<Self as ObjectSubclass>::Type)
Object Safety§
This trait is not object safe.