class Gadget
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
def clearInstanceCallback(
self)
Inheritance:
Gadget
.clearInstanceCallback
Clears callback script 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 hasInstanceCallback(
self)
Inheritance:
Gadget
.hasInstanceCallback
Retruns if an Instange Callback is atatched or not
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()
Documentation generated by
pdoc
0.2.3.
pdoc is in the public domain with the
UNLICENSE.