Panda3D
|
Public Member Functions | |
def | __init__ (self) |
def | __setitem__ (self, key, value) |
def | addoptions (self, optionDefs, optionkeywords) |
def | bind (self, event, command, extraArgs=[]) |
def | cget (self, option) |
def | component (self, name) |
def | components (self) |
def | configure (self, option=None, **kw) |
def | createcomponent (self, componentName, componentAliases, componentGroup, widgetClass, *widgetArgs, **kw) |
def | defineoptions (self, keywords, optionDefs, dynamicGroups=()) |
def | destroy (self) |
def | destroycomponent (self, name) |
def | hascomponent (self, component) |
def | initialiseoptions (self, myClass) |
def | isinitoption (self, option) |
def | options (self) |
def | postInitialiseFunc (self) |
def | unbind (self, event) |
Public Attributes | |
fInit | |
guiId | |
postInitialiseFuncList | |
Base class of all DirectGUI widgets.
def __init__ | ( | self | ) |
def __setitem__ | ( | self, | |
key, | |||
value | |||
) |
def addoptions | ( | self, | |
optionDefs, | |||
optionkeywords | |||
) |
addoptions(optionDefs) - add option def to option info
def bind | ( | self, | |
event, | |||
command, | |||
extraArgs = [] |
|||
) |
Bind the command (which should expect one arg) to the specified event (such as ENTER, EXIT, B1PRESS, B1CLICK, etc.) See DirectGuiGlobals for possible events
def cget | ( | self, | |
option | |||
) |
Get current configuration setting for this option
def component | ( | self, | |
name | |||
) |
def components | ( | self | ) |
def configure | ( | self, | |
option = None , |
|||
** | kw | ||
) |
configure(option = None) Query or configure the megawidget options.
def createcomponent | ( | self, | |
componentName, | |||
componentAliases, | |||
componentGroup, | |||
widgetClass, | |||
* | widgetArgs, | ||
** | kw | ||
) |
Create a component (during construction or later) for this widget.
def defineoptions | ( | self, | |
keywords, | |||
optionDefs, | |||
dynamicGroups = () |
|||
) |
defineoptions(keywords, optionDefs, dynamicGroups = {})
def destroy | ( | self | ) |
Reimplemented in DirectGuiWidget, DirectDialog, DirectScrollBar, DirectEntry, DirectScrolledList, DirectSlider, DirectEntryScroll, DirectScrolledFrame, DirectFrame, DirectWaitBar, and DWBPackageInstaller.
def destroycomponent | ( | self, | |
name | |||
) |
def hascomponent | ( | self, | |
component | |||
) |
def initialiseoptions | ( | self, | |
myClass | |||
) |
Call all initialisation functions to initialize widget options to default of keyword value
def isinitoption | ( | self, | |
option | |||
) |
Is this opition one that can only be specified at construction?
def options | ( | self | ) |
Print out a list of available widget options. Does not include subcomponent options.
def postInitialiseFunc | ( | self | ) |
def unbind | ( | self, | |
event | |||
) |
Unbind the specified event
fInit |
guiId |
postInitialiseFuncList |