:tocdepth: 3 :py:mod:`gws.plugin.model_widget.select` ======================================== .. py:module:: gws.plugin.model_widget.select .. autoapi-nested-parse:: Select widget. **Source code:** :source:`gws.plugin.model_widget.select` Package Contents ---------------- .. py:class:: Config Bases: :py:obj:`gws.base.model.widget.Config` .. py:attribute:: items :type: list[ListItemConfig] .. py:attribute:: withSearch :type: bool :value: False .. py:class:: ListItem(*args, **kwargs) Bases: :py:obj:`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. .. py:attribute:: extraText :type: Optional[str] .. py:attribute:: level :type: Optional[int] .. py:attribute:: text :type: str .. py:attribute:: value :type: Any .. py:class:: ListItemConfig(*args, **kwargs) Bases: :py:obj:`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. .. py:attribute:: extraText :type: Optional[str] .. py:attribute:: level :type: Optional[int] .. py:attribute:: text :type: Optional[str] .. py:attribute:: value :type: Any .. py:class:: Object Bases: :py:obj:`gws.base.model.widget.Object` .. py:method:: props(user) .. py:class:: Props Bases: :py:obj:`gws.base.model.widget.Props` .. py:attribute:: items :type: list[ListItem] .. py:attribute:: withSearch :type: bool