/// Creates a new Container with a Decorator and Layout
Creates a new Container with a Decorator and Layout
Creates a new Container with a Decorator and Layout
pub fn new(decorator: DE, layout: Box<dyn Layout<T>>) -> Self {
        Container {
            widgets_i: InternalList::new(),
            widgets: WidgetList::new(),
            layout,
            focus_id: None,
            mouse_id: None,
            decorator,
        }
    }
pub fn new ( decorator : DE , layout : Box < dyn Layout < T > > ) -> Self { Container { widgets_i : InternalList :: new ( ) , widgets : WidgetList :: new ( ) , layout , focus_id : None , mouse_id : None , decorator , } }
Creates a new Container with a Decorator and Layout
Creates a new Container with a Decorator and Layout
decorator
DE
layout
Box<dyn Layout<T>>