# enaml.widgets.action

Classes

`Action` | A non visible widget used in a ToolBar or Menu.

class enaml.widgets.action.Action(parent=None, **kwargs)

  Bases: `ToolkitObject`

  A non visible widget used in a ToolBar or Menu.

  An Action represents an actionable item in a ToolBar or a Menu. Though an Action itself is a non-visible component, it will be rendered in an appropriate fashion for the location where it is used.

  text

    The text label associate with the action.

  tool_tip

    The tool tip text to use for this action. Typically displayed as a small label when the user hovers over the action.

  status_tip

    The text that is displayed in the status bar when the user hovers over the action.

  icon

    The icon to use for the Action.

  checkable

    Whether or not the action can be checked.

  checked

    Whether or not the action is checked. This value only has meaning if ‘checkable’ is set to True.

  enabled

    Whether or not the item representing the action is enabled.

  visible

    Whether or not the item representing the action is visible.

  separator

    Whether or not the action should be treated as a separator. If this value is True, none of the other values have meaning.

  triggered

    An event fired when the action is triggered by user interaction. They payload will be the current checked state. This event is triggered by the proxy object when the action is triggerd.

  toggled

    An event fired when a checkable action changes its checked state. The payload will be the current checked state. This event is triggerd by the proxy object when the action is toggled.

  proxy

    A reference to the ProxyAction object.