Skip to main content

forward_to_child

Macro forward_to_child 

macro_rules! forward_to_child {
    ($child:ident, $rect:ident) => { ... };
}
Expand description

The Widget methods a wrapper that keeps one child Element in self.$child — laid out as the only child of its own node, whose box it stores in self.$rect — forwards to it unchanged: placement, painting, events, child walks and its box.