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

Class Password_Knob

object --+    
         |    
 nuke.Knob --+
             |
            nuke.Password_Knob

A knob which holds a password string value. Appears as a password entry field in a Node panel.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
string
getText(self)
Return text associated with knob.
None
setValue(self, val, view='default')
Set value of knob.
str
value(self)
Get the value of this knob as a string.

Inherited from Knob: Class, clearAnimated, clearFlag, critical, debug, enabled, error, fromScript, fullyQualifiedName, getDerivative, getFlag, getIntegral, getKeyIndex, getKeyTime, getNthDerivative, getNumKeys, getValue, getValueAt, hasExpression, isAnimated, isKey, isKeyAt, label, name, node, removeKey, removeKeyAt, setAnimated, setEnabled, setExpression, setFlag, setLabel, setName, setTooltip, setValueAt, setVisible, toScript, tooltip, visible, warning

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

setValue(self, val, view='default')

 

Set value of knob.

Parameters:
  • val - The new value.
  • view - Optional parameter specifying which view to set the value for. If omitted, the value will be set for the default view.
Returns: None
None
Overrides: Knob.setValue

value(self)

 

Get the value of this knob as a string.

Returns: str
String value.
Overrides: Knob.value