AccordionPanel
Astryx collapsible group with one titled section per child.
The open sections live in value: a child key when multiple is
False and a list of child keys otherwise.
Attributes
attributevalue= self._open_value(open, multiple)attributeopen_keyslist[str]Keys of the open sections.
Functions
constructor__init__(children=None, *, titles=None, keys=None, open=None, multiple=False, dividers=True, width=None, height=None, **props) -> NoneparamchildrenChildInput= NoneChild widgets or keyed child mapping.
paramtitlesTitleInput= NoneSection titles associated with children. Defaults to the child keys.
paramkeysIterable[str] | None= NoneStable child keys for iterable children.
paramopenstr | int | Iterable[str | int] | None= NoneInitially open section keys or indexes. Defaults to the first child
when multiple is False and to no section otherwise.
parammultiplebool= FalseWhether several sections can be open at once.
paramdividersbool= TrueWhether to draw hairline dividers between sections.
paramwidthint | float | str | None= NonePanel width.
paramheightint | float | str | None= NonePanel height.
parampropsAny= {}Returns
Nonefuncopen_key(key_or_index) -> NoneOpen the section for key_or_index.
paramkey_or_indexstr | intReturns
Nonefuncclose_key(key_or_index) -> NoneClose the section for key_or_index.
paramkey_or_indexstr | intReturns
None