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) -> NoneparamwidgetsChildInput= NoneChild widgets or keyed child mapping.
paramtitlesTitleInput= NoneOptional labels associated with children.
paramkeysIterable[str] | None= NoneStable child keys for iterable widgets.
paramselected_indexint= 0Initially visible child index.
paramwidthint | float | str | None= '100%'Widget width.
paramheightint | float | str | None= 420Widget height.
paramresizablebool= TrueWhether the panel gets a notebook resize handle.
paramfit_contentbool= FalseReturns
Nonefuncselect(index) -> NoneparamindexintReturns
None