Panda3D
|
Public Member Functions | |
__init__ (self) | |
__setitem__ (self, key, value) | |
addoptions (self, optionDefs, optionkeywords) | |
bind (self, event, command, extraArgs=[]) | |
cget (self, option) | |
component (self, name) | |
components (self) | |
configure (self, option=None, **kw) | |
createcomponent (self, componentName, componentAliases, componentGroup, widgetClass, *widgetArgs, **kw) | |
defineoptions (self, keywords, optionDefs, dynamicGroups=()) | |
destroy (self) | |
destroycomponent (self, name) | |
hascomponent (self, component) | |
initialiseoptions (self, myClass) | |
isinitoption (self, option) | |
options (self) | |
postInitialiseFunc (self) | |
unbind (self, event) | |
Public Attributes | |
fInit | |
guiId | |
postInitialiseFuncList | |
Protected Attributes | |
_constructorKeywords | |
_dynamicGroups | |
_optionInfo | |
Base class of all DirectGUI widgets.
__init__ | ( | self | ) |
Reimplemented in DWBPackageInstaller, DirectEntryScroll, DirectButton, DirectCheckBox, DirectCheckButton, DirectDialog, OkDialog, OkCancelDialog, YesNoDialog, YesNoCancelDialog, RetryCancelDialog, DirectEntry, DirectFrame, DirectGuiWidget, DirectLabel, DirectOptionMenu, DirectRadioButton, DirectScrollBar, DirectScrolledFrame, DirectScrolledListItem, DirectScrolledList, DirectSlider, and DirectWaitBar.
__setitem__ | ( | self, | |
key, | |||
value ) |
addoptions | ( | self, | |
optionDefs, | |||
optionkeywords ) |
addoptions(optionDefs) - add option def to option info
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
cget | ( | self, | |
option ) |
Get current configuration setting for this option
component | ( | self, | |
name ) |
components | ( | self | ) |
configure | ( | self, | |
option = None, | |||
** | kw ) |
configure(option = None) Query or configure the megawidget options.
createcomponent | ( | self, | |
componentName, | |||
componentAliases, | |||
componentGroup, | |||
widgetClass, | |||
* | widgetArgs, | ||
** | kw ) |
Create a component (during construction or later) for this widget.
defineoptions | ( | self, | |
keywords, | |||
optionDefs, | |||
dynamicGroups = () ) |
defineoptions(keywords, optionDefs, dynamicGroups = {})
destroy | ( | self | ) |
Reimplemented in DirectDialog, DirectEntry, DirectEntryScroll, DirectFrame, DirectGuiWidget, DirectScrollBar, DirectScrolledFrame, DirectScrolledList, DirectSlider, DirectWaitBar, and DWBPackageInstaller.
destroycomponent | ( | self, | |
name ) |
hascomponent | ( | self, | |
component ) |
initialiseoptions | ( | self, | |
myClass ) |
Call all initialisation functions to initialize widget options to default of keyword value
isinitoption | ( | self, | |
option ) |
Is this opition one that can only be specified at construction?
options | ( | self | ) |
Print out a list of available widget options. Does not include subcomponent options.
postInitialiseFunc | ( | self | ) |
unbind | ( | self, | |
event ) |
Unbind the specified event
|
protected |
|
protected |
|
protected |
fInit |
guiId |
postInitialiseFuncList |