Expand description

Traits intended for subclassing Widget.

Structs

Traits

A trait for setting up template children inside class_init. This trait is implemented automatically by the CompositeTemplate macro.

A trait for setting up template callbacks inside class_init. This trait is implemented automatically by the template_callbacks macro.

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

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

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

Type Definitions