pub fn add_widget_b(
        &mut self,
        widget: Box<dyn Widget<T, CTX>>,
        flags: Flags,
        group: Group,
        bounds: Boundaries<T>,
    ) {
        let mut internal =
            WidgetInternal::new_with((bounds.0, bounds.1), (bounds.2, bounds.3), flags, group);
        internal.off(HANDLERS);
        internal.set_min_dimensions(widget.min_dimensions());

        self.widgets_i.push(internal);
        self.widgets.push(widget);
    }
/// Adds a new widget to the list with initial bounds
///
/// Useful when initial boundaries are required by the Layout
Adds a new widget to the list with initial bounds
Useful when initial boundaries are required by the Layout
Adds a new widget to the list with initial bounds Useful when initial boundaries are required by the Layout
pub fn add_widget_b(
        &mut self,
        widget: Box<dyn Widget<T, CTX>>,
        flags: Flags,
        group: Group,
        bounds: Boundaries<T>,
    ) {
        let mut internal =
            WidgetInternal::new_with((bounds.0, bounds.1), (bounds.2, bounds.3), flags, group);
        internal.off(HANDLERS);
        internal.set_min_dimensions(widget.min_dimensions());
        self.widgets_i.push(internal);
        self.widgets.push(widget);
    }
pub fn add_widget_b ( & mut self , widget : Box < dyn Widget < T , CTX > > , flags : Flags , group : Group , bounds : Boundaries < T > , ) { let mut internal = WidgetInternal :: new_with ( ( bounds . 0 , bounds . 1 ) , ( bounds . 2 , bounds . 3 ) , flags , group ) ; internal . off ( HANDLERS ) ; internal . set_min_dimensions ( widget . min_dimensions ( ) ) ; self . widgets_i . push ( internal ) ; self . widgets . push ( widget ) ; }
Adds a new widget to the list with initial bounds
Useful when initial boundaries are required by the Layout
Adds a new widget to the list with initial bounds Useful when initial boundaries are required by the Layout
&mut self
widget
Box<dyn Widget<T, CTX>>
flags
Flags
group
Group
bounds
Boundaries<T>
&mut self
widget
Box<dyn Widget<T, CTX>>
flags
Flags
group
Group
bounds
Boundaries<T>