Inherits from
- HasTraits: enthought.traits.has_traits.HasTraits
Attributes
- enabled
Is the item enabled?
enabled = Bool(True)
- id
The item's unique identifier ('unique' in this case means unique within its group)
id = Str
- parent
The group the item belongs to.
parent = Instance('enthought.pyface.action.api.Group')
- visible
Is the item visible?
visible = Bool(True)
Method summary
- add_to_menu(self, parent, menu, controller)
- add_to_toolbar(self, parent, tool_bar, image_cache, controller)
Methods
- add_to_toolbar(self, parent, tool_bar, image_cache, controller)
Adds the item to a tool bar.