Package peppy :: Package hsi :: Module hsi_major_mode :: Class CubeAction
[frames] | no frames]

Class CubeAction

          object --+    
                   |    
      HSIActionMixin --+
                       |
      object --+       |
               |       |
debug.debugmixin --+   |
                   |   |
actions.SelectAction --+
                       |
                      CubeAction

Instance Methods
 
isEnabled(self)
Override this to provide the enable/disable state of the item.

Inherited from actions.SelectAction: __call__, __init__, action, getMenuItemName, getSubIds, getTooltip, initPostHook, initPreHook, insertIntoMenu, insertIntoToolbar, showEnable

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods

Inherited from HSIActionMixin: worksWithMajorMode

Inherited from actions.SelectAction: getHelp, setAcceleratorText

Inherited from debug.debugmixin: dprint

Class Variables

Inherited from actions.SelectAction: alias, default_menu, default_toolbar, global_id, icon, key_bindings, keyboard, name, stock_id, tooltip

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

isEnabled(self)

 

Override this to provide the enable/disable state of the item.

The menu system will call this method before the menu is drawn (or periodically during idle time for toolbar items) to determine whether or not the item should be disabled (grayed out).

Default is to always enable the item.

Overrides: actions.SelectAction.isEnabled
(inherited documentation)