|
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 Member Functions inherited from DirectObject | |
| __init__ (self) | |
| accept (self, event, method, extraArgs=[]) | |
| acceptOnce (self, event, method, extraArgs=[]) | |
| addTask (self, *args, **kwargs) | |
| detectLeaks (self) | |
| doMethodLater (self, *args, **kwargs) | |
| getAllAccepting (self) | |
| ignore (self, event) | |
| ignoreAll (self) | |
| isAccepting (self, event) | |
| isIgnoring (self, event) | |
| removeAllTasks (self) | |
| removeTask (self, taskOrName) | |
Public Attributes | |
| int | fInit = 1 |
| str | guiId = 'guiObject' |
| list | postInitialiseFuncList = [] |
Protected Attributes | |
| dict | _constructorKeywords = tmp |
| tuple | _dynamicGroups = () |
| dict | _optionInfo = {} |
Protected Attributes inherited from DirectObject | |
| dict | _taskList = {} |
Additional Inherited Members | |
Static Public Attributes inherited from DirectObject | |
| accept_once = acceptOnce | |
| add_task = addTask | |
| detect_leaks = detectLeaks | |
| do_method_later = doMethodLater | |
| get_all_accepting = getAllAccepting | |
| ignore_all = ignoreAll | |
| is_accepting = isAccepting | |
| is_ignoring = isIgnoring | |
| remove_all_tasks = removeAllTasks | |
| remove_task = removeTask | |
Protected Member Functions inherited from DirectObject | |
| _addTask (self, task) | |
| _clearTask (self, task) | |
Base class of all DirectGUI widgets.
| __init__ | ( | self | ) |
| __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 |
| int fInit = 1 |
| str guiId = 'guiObject' |
| list postInitialiseFuncList = [] |