AnyLumino
API referencelayout

StackedPanel

Lumino stacked panel that shows one selected child at a time.

Attributes

attributelayout_kind
= t.Unicode('stacked').tag(sync=True)
attributeselected_index
= t.Int(0).tag(sync=True)

Functions

constructor__init__(widgets=None, *, titles=None, keys=None, selected_index=0, width='100%', height=420, resizable=True, fit_content=False) -> None
paramwidgetsChildInput
= None

Child widgets or keyed child mapping.

paramtitlesTitleInput
= None

Optional labels associated with children.

paramkeysIterable[str] | None
= None

Stable child keys for iterable widgets.

paramselected_indexint
= 0

Initially visible child index.

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

Widget width.

paramheightint | float | str | None
= 420

Widget height.

paramresizablebool
= True

Whether the panel gets a notebook resize handle.

paramfit_contentbool
= False

Returns

None
funcselect(index) -> None
paramindexint

Returns

None

On this page