AnyLumino
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) -> None
paramwidgetsChildInput
= None

Child widgets or keyed child mapping. Mapping keys become stable child keys and default tab titles.

paramtitlesTitleInput
= None

Tab titles associated with children.

paramkeysIterable[str] | None
= None

Stable 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
= 520

Widget height.

paramresizablebool
= True

Whether the dock panel gets a notebook resize handle.

paramfit_contentbool
= False

Returns

None

On this page