pub fn is_container(&self) -> bool {
        match self {
            Widget::Vbox
            | Widget::Hbox
            | Widget::Vpane
            | Widget::Hpane
            | Widget::Overlay
            | Widget::GroupBox
            | Widget::HeaderBar
            | Widget::MenuBar
            | Widget::Menu
            | Widget::MenuItem => true,

            Widget::SearchInput
            | Widget::Button
            | Widget::Label
            | Widget::Paragraph
            | Widget::TextInput
            | Widget::Checkbox
            | Widget::Radio
            | Widget::Image
            | Widget::Svg
            | Widget::Link
            | Widget::TextArea => false,
        }
    }
/// whether or not the widget can container children or not
whether or not the widget can container children or not
whether or not the widget can container children or not
pub fn is_container(&self) -> bool {
        match self {
            Widget::Vbox
            | Widget::Hbox
            | Widget::Vpane
            | Widget::Hpane
            | Widget::Overlay
            | Widget::GroupBox
            | Widget::HeaderBar
            | Widget::MenuBar
            | Widget::Menu
            | Widget::MenuItem => true,
            Widget::SearchInput
            | Widget::Button
            | Widget::Label
            | Widget::Paragraph
            | Widget::TextInput
            | Widget::Checkbox
            | Widget::Radio
            | Widget::Image
            | Widget::Svg
            | Widget::Link
            | Widget::TextArea => false,
        }
    }
pub fn is_container ( & self ) -> bool { match self { Widget :: Vbox | Widget :: Hbox | Widget :: Vpane | Widget :: Hpane | Widget :: Overlay | Widget :: GroupBox | Widget :: HeaderBar | Widget :: MenuBar | Widget :: Menu | Widget :: MenuItem => true , Widget :: SearchInput | Widget :: Button | Widget :: Label | Widget :: Paragraph | Widget :: TextInput | Widget :: Checkbox | Widget :: Radio | Widget :: Image | Widget :: Svg | Widget :: Link | Widget :: TextArea => false , } }
whether or not the widget can container children or not
whether or not the widget can container children or not
&self
&self