AnyLumino
API referenceastryxlayout

SplitPanel

Astryx panes separated by draggable resize handles.

sizes holds the relative pane sizes as fractions of the panel. Drags sync the fractions back to Python, and assigning sizes resizes the panes.

Attributes

attributesizes
= t.List(t.Float(), default_value=[]).tag(sync=True)

Functions

constructor__init__(children=None, *, titles=None, keys=None, orientation='horizontal', sizes=None, min_size=80, width='100%', height=420, **props) -> None
paramchildrenChildInput
= None

Child widgets or keyed child mapping.

paramtitlesTitleInput
= None

Optional labels associated with children.

paramkeysIterable[str] | None
= None

Stable child keys for iterable children.

paramorientationstr
= 'horizontal'

Split direction. Horizontal places panes side by side; vertical stacks them.

paramsizesIterable[float] | None
= None

Relative pane sizes. Equal sizes are used when omitted.

parammin_sizeint
= 80

Minimum pane size in pixels.

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

Panel width.

paramheightint | float | str | None
= 420

Panel height.

parampropsAny
= {}

Returns

None

On this page