Top

Module uiScriptPy.ui_gadget


Index

Classes

class Gadget

Ancestors (in MRO)

Methods

def __init__(

self, hou_dialog, ui_script_gadget, comp_index=0)

def asCode(

self)

def clearInstanceCallback(

self)

Clears callback script this Gadget

def description(

self)

Returns Gadget label ot title

def dialog(

self)

Returns the dialog containing this Gadget

def disable(

self, true_or_false=True)

Show the Gadget as disabled (ghosted) in dialog

def enable(

self, true_or_false=True)

Show the Gadget as enabled (not ghosted) in dialog

def get(

self)

Retrun the current Gadget value

def hasInstanceCallback(

self)

Retruns if an Instange Callback is atatched or not

def isAtDefault(

self)

def name(

self)

Returns gadget name

def set(

self, value)

Set Gadget to specified Value

def setInstanceCallback(

self, callback_string)

Set the callback script to provided string. This script will run in response to gadget changes.

Note Currently only python callbacks are supported. hscript can be used via hou.hscript()

def uiScriptGadget(

self)

Return template uiScriptGadget

def value(

self)

alias for get

class GadgetTuple

Ancestors (in MRO)

Methods

def __init__(

self, hou_dialog, ui_script_gadget)

Inheritance: Gadget.__init__

def asCode(

self)

Inheritance: Gadget.asCode

def clearInstanceCallback(

self)

Inheritance: Gadget.clearInstanceCallback

Clears callback script this Gadget

def description(

self)

Inheritance: Gadget.description

Returns Gadget label ot title

def dialog(

self)

Inheritance: Gadget.dialog

Returns the dialog containing this Gadget

def disable(

self, true_or_false=True)

Inheritance: Gadget.disable

Show the Gadget as disabled (ghosted) in dialog

def enable(

self, true_or_false=True)

Inheritance: Gadget.enable

Show the Gadget as enabled (not ghosted) in dialog

def get(

self)

Inheritance: Gadget.get

Retrun the current Gadget value

def hasInstanceCallback(

self)

Inheritance: Gadget.hasInstanceCallback

Retruns if an Instange Callback is atatched or not

def isAtDefault(

self)

Inheritance: Gadget.isAtDefault

def name(

self)

Inheritance: Gadget.name

Returns gadget name

def set(

self, value)

Inheritance: Gadget.set

Set Gadget to specified Value Tuple

def setInstanceCallback(

self, callback_string)

Inheritance: Gadget.setInstanceCallback

Set the callback script to provided string. This script will run in response to gadget changes.

Note Currently only python callbacks are supported. hscript can be used via hou.hscript()

def uiScriptGadget(

self)

Inheritance: Gadget.uiScriptGadget

Return template uiScriptGadget

def value(

self)

Inheritance: Gadget.value

alias for get


Documentation generated by pdoc 0.2.3. pdoc is in the public domain with the UNLICENSE.