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

Class FreeType_Knob

object --+    
         |    
 nuke.Knob --+
             |
            nuke.FreeType_Knob

A knob which holds a font family and style name.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
[String, String]
getValue(self)
Returns the font family/style on this knob.
None
setValue(self, family, style)
self.setValue(filename,index) -> None.

Inherited from Knob: Class, clearAnimated, clearFlag, critical, debug, enabled, error, fromScript, fullyQualifiedName, getDerivative, getFlag, getIntegral, getKeyIndex, getKeyList, getKeyTime, getNthDerivative, getNumKeys, getValueAt, hasExpression, isAnimated, isKey, isKeyAt, label, name, node, removeKey, removeKeyAt, setAnimated, setEnabled, setExpression, setFlag, setLabel, setName, setTooltip, setValueAt, setVisible, toScript, tooltip, value, 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 help(type(x)) for signature

Overrides: object.__init__

__new__(T, S, ...)

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

getValue(self)

 

Returns the font family/style on this knob.

Returns: [String, String]
[String, String].
Overrides: Knob.getValue

setValue(self, family, style)

 

self.setValue(filename,index) -> None. Change font family/style with a new one. It raises an exception if the font is not available.

Parameters:
  • family - String of the font family name.
  • style - String of the font style name.
  • filename - Font filename.
  • index - Face index.
Returns: None
None.
Overrides: Knob.setValue