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) -> NoneparamwidgetsChildInput= NoneChild widgets or keyed child mapping. Mapping keys become stable child keys and default titles.
paramtitlesTitleInput= NoneOptional labels associated with children.
paramkeysIterable[str] | None= NoneStable child keys for iterable widgets.
paramorientationstr= 'horizontal'Split direction. Horizontal places panes side by side; vertical stacks panes top to bottom.
paramspacingint= 6Pixel spacing around Lumino split handles.
paramsizesIterable[float] | None= NoneInitial relative pane sizes. Values are passed to Lumino as ratios.
paramwidthint | float | str | None= '100%'Widget width.
paramheightint | float | str | None= 420Widget height.
paramresizablebool= TrueWhether the whole panel gets a notebook resize handle. Lumino pane dividers remain draggable independently.
paramfit_contentbool= FalseWhether 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