pub trait CompositeTemplate: WidgetImpl {
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
source
fn bind_template(klass: &mut Self::Class)
source