gws.plugin.model_widget.select

Select widget.

Source code: gws.plugin.model_widget.select

Package Contents

class gws.plugin.model_widget.select.Config

Bases: gws.base.model.widget.Config

items: list[ListItemConfig]
withSearch: bool = False
class gws.plugin.model_widget.select.ListItem(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

extraText: str | None
level: int | None
text: str
value: Any
class gws.plugin.model_widget.select.ListItemConfig(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

extraText: str | None
level: int | None
text: str | None
value: Any
class gws.plugin.model_widget.select.Object

Bases: gws.base.model.widget.Object

props(user)
class gws.plugin.model_widget.select.Props

Bases: gws.base.model.widget.Props

items: list[ListItem]
withSearch: bool