# DirectGuiBase

from direct.gui.DirectGuiBase import DirectGuiBase

## Inheritance:

DirectGuiBase:

## Methods of DirectGuiBase:

__init__
__setitem__
addoptions
bind
cget
component
components
configure
createcomponent
defineoptions
destroy
destroycomponent
hascomponent
initialiseoptions
isinitoption
options
postInitialiseFunc
unbind

__init__ def __init__(self) Undocumented function.

__setitem__ def __setitem__(self, key, value) Undocumented function.

addoptions def addoptions(self, optionDefs) addoptions(optionDefs) - add option def to option info

bind 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

cget def cget(self, option) Get current configuration setting for this option

component def component(self, name) Undocumented function.

components def components(self) Undocumented function.

configure def configure(self, option=None, **kw) configure(option = None) Query or configure the megawidget options.

createcomponent def createcomponent(self, componentName, componentAliases, componentGroup, widgetClass, *widgetArgs, **kw) Create a component (during construction or later) for this widget.

defineoptions def defineoptions(self, keywords, optionDefs, dynamicGroups=()) defineoptions(keywords, optionDefs, dynamicGroups = {})

destroy def destroy(self) Undocumented function.

destroycomponent def destroycomponent(self, name) Undocumented function.

hascomponent def hascomponent(self, component) Undocumented function.

initialiseoptions def initialiseoptions(self, myClass) Call all initialisation functions to initialize widget options to default of keyword value

isinitoption def isinitoption(self, option) Is this opition one that can only be specified at construction?

options def options(self) Print out a list of available widget options. Does not include subcomponent options.

postInitialiseFunc def postInitialiseFunc(self) Undocumented function.

unbind def unbind(self, event) Unbind the specified event