API referencelayout
DockPanel
Lumino dock panel for tabbed or split workspace-style layouts.
Attributes
attributelayout_kind= t.Unicode('dock').tag(sync=True)attributemode= t.Enum(DOCK_MODES, default_value='split-right').tag(sync=True)Functions
constructor__init__(widgets=None, *, titles=None, keys=None, mode='split-right', width='100%', height=520, resizable=True, fit_content=False) -> NoneparamwidgetsChildInput= NoneChild widgets or keyed child mapping. Mapping keys become stable child keys and default tab titles.
paramtitlesTitleInput= NoneTab titles associated with children.
paramkeysIterable[str] | None= NoneStable child keys for iterable widgets.
parammodestr= 'split-right'Placement mode used as children are added to the dock layout.
paramwidthint | float | str | None= '100%'Widget width.
paramheightint | float | str | None= 520Widget height.
paramresizablebool= TrueWhether the dock panel gets a notebook resize handle.
paramfit_contentbool= FalseReturns
None