class documentation

class ACMEListItem(ListItem):

Constructor: ACMEListItem(*children, name, id, classes, ...)

View In Hierarchy

Generic list item for the ACME text UI.

Method __init__ Initialize the list item.
Instance Variable _data The data of the list item.
def __init__(self, *children: Widget, name: str | None = None, id: str | None = None, classes: str | None = None, disabled: bool = False):

Initialize the list item.

Parameters
*children:WidgetThe children of the list item.
name:str | NoneThe name of the list item.
id:str | NoneThe ID of the list item.
classes:str | NoneThe classes of the list item.
disabled:boolWhether the list item is disabled.
_data: Any =

The data of the list item.