AnyLumino
API referencelayout

SplitPanel

Lumino split panel with draggable dividers between children.

Attributes

attributelayout_kind
= t.Unicode('split').tag(sync=True)
attributeorientation
= t.Enum(ORIENTATIONS, default_value='horizontal').tag(sync=True)
attributespacing
= t.Int(6).tag(sync=True)
attributesizes
= t.List(t.Float(), default_value=[]).tag(sync=True)

Functions

constructor__init__(widgets=None, *, titles=None, keys=None, orientation='horizontal', spacing=6, sizes=None, width='100%', height=420, resizable=True, fit_content=False) -> None
paramwidgetsChildInput
= None

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

paramtitlesTitleInput
= None

Optional labels associated with children.

paramkeysIterable[str] | None
= None

Stable child keys for iterable widgets.

paramorientationstr
= 'horizontal'

Split direction. Horizontal places panes side by side; vertical stacks panes top to bottom.

paramspacingint
= 6

Pixel spacing around Lumino split handles.

paramsizesIterable[float] | None
= None

Initial relative pane sizes. Values are passed to Lumino as ratios.

paramwidthint | float | str | None
= '100%'

Widget width.

paramheightint | float | str | None
= 420

Widget height.

paramresizablebool
= True

Whether the whole panel gets a notebook resize handle. Lumino pane dividers remain draggable independently.

paramfit_contentbool
= False

Whether the panel height follows its panes' content instead of height: the tallest pane side by side, or the panes and handles stacked. The panel refits when a pane's content changes size, such as a chart frame that grows with its subcharts.

Returns

None

On this page