panel.ui.layout.widgetbox module#
A Material Paper with the disabled behavior of the classic WidgetBox.
- class panel.ui.layout.widgetbox.WidgetBox(*objects, **params)[source]#
Bases:
PaperThe WidgetBox groups widgets on a Material Paper surface and, like the classic WidgetBox, can disable all the widgets it contains.
- Example:
>>> WidgetBox(TextInput(label='Name'), Button(label='Submit'), disabled=True)
Parameter Definitions
Parameters inherited from:
panel_material_ui.layout.base.PaperMixin: elevation, raised, square, variantpanel.layout.base.ListLike: objectspanel.viewable.Layoutable: align, aspect_ratio, css_classes, design, height, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width, width_policy, height_policy, sizing_mode, visiblepanel.custom.ReactComponent: use_shadow_dompanel_material_ui.base.MaterialComponent: loading, dark_theme, theme_config, sxpanel_material_ui.layout.base.MaterialListLike: scrollpanel_material_ui.layout.base.Paper: margin, directiondisabled = Boolean(default=False, label='Disabled')Whether the widgets in the box are disabled.