SimpleAction.enabled

Get enabled property.

  1. bool enabled [@property getter]
    class SimpleAction
    @property
    bool
    enabled
    ()
  2. bool enabled [@property setter]

Return Value

Type: bool

If @action is currently enabled.

If the action is disabled then calls to gio.action.Action.activate and gio.action.Action.changeState have no effect.