:tocdepth: 3 :py:mod:`gws.base.model.widget` =============================== .. py:module:: gws.base.model.widget .. autoapi-nested-parse:: Base class for field widgets. **Source code:** :source:`gws.base.model.widget` Module Contents --------------- .. py:class:: Config(*args, **kwargs) Bases: :py:obj:`gws.Config` Configuration for the widget. .. py:attribute:: readOnly :type: bool :value: False If True, the value is read-only. .. py:class:: Object Bases: :py:obj:`gws.ModelWidget` Model widget. .. py:attribute:: readOnly :type: bool .. py:method:: configure() Configuration hook. .. py:method:: props(user) Generate a ``Props`` struct for this object. :param user: The user for which the props should be generated. .. py:class:: Props(*args, **kwargs) Bases: :py:obj:`gws.Props` Object properties. .. py:attribute:: readOnly :type: bool .. py:attribute:: type :type: str .. py:attribute:: uid :type: str Unique ID.