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§

source

fn bind_template(klass: &mut Self::Class)

source

fn check_template_children(widget: &<Self as ObjectSubclass>::Type)

Object Safety§

This trait is not object safe.

Implementors§