Package nuke :: Class MenuItem
[hide private]
[frames] | no frames]

Class MenuItem

object --+
         |
        nuke.MenuItem
Known Subclasses:

MenuItem

Instance Methods [hide private]
None
invoke(self)
Perform the action associated with this menu item.
String
name(self)
Returns the name of the menu item.
String
script(self)
Returns the script that gets executed for this menu item.
None
setEnabled(self, enabled)
Enable or disable the item.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setEnabled(self, enabled)

 

Enable or disable the item.

Parameters:
  • enabled - True to enable the object; False to disable it.
Returns: None