gws.base.model.widget

Base class for field widgets.

Source code: gws.base.model.widget

Module Contents

class gws.base.model.widget.Config(*args, **kwargs)

Bases: gws.Config

Object configuration.

readOnly: bool = False
class gws.base.model.widget.Object

Bases: gws.ModelWidget

Model widget.

readOnly: bool
configure()

Configuration hook.

props(user)

Generate a Props struct for this object.

Parameters:

user – The user for which the props should be generated.

class gws.base.model.widget.Props(*args, **kwargs)

Bases: gws.Props

Object properties.

readOnly: bool
type: str
uid: str