|
Panda3D
|
| def __init__ | ( | self, | |
parent = None, |
|||
| kw | |||
| ) |
Reimplemented in TestAppShell.
| def addVariable | ( | self, | |
| category, | |||
| text, | |||
| variable | |||
| ) |
| def addWidget | ( | self, | |
| category, | |||
| text, | |||
| widget | |||
| ) |
WIDGET UTILITY FUNCTIONS ##.
| def alignbuttons | ( | self | ) |
Make all buttons wide as widest
| def appInit | ( | self | ) |
USER METHODS ### To be overridden.
| def balloon | ( | self | ) |
| def bind | ( | self, | |
| child, | |||
| balloonHelpMsg, | |||
statusHelpMsg = None |
|||
| ) |
| def buttonAdd | ( | self, | |
| buttonName, | |||
helpMessage = None, |
|||
statusMessage = None, |
|||
| kw | |||
| ) |
| def buttonBox | ( | self | ) |
| def createInterface | ( | self | ) |
Reimplemented in TestAppShell.
| def createMenuBar | ( | self | ) |
| def createWidget | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| widgetClass, | |||
| help, | |||
| command, | |||
| side, | |||
| fill, | |||
| expand, | |||
| kw | |||
| ) |
| def getVariable | ( | self, | |
| category, | |||
| text | |||
| ) |
| def getWidget | ( | self, | |
| category, | |||
| text | |||
| ) |
| def interior | ( | self | ) |
| def messageBar | ( | self | ) |
| def newCreateButton | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
createButton(parent, category, text, [options])
| def newCreateCheckbutton | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
initialState = 0, |
|||
anchor = W, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
createCheckbutton(parent, category, text, [options])
| def newCreateColorEntry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateComboBox | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
items = [], |
|||
state = DISABLED, |
|||
history = 0, |
|||
labelpos = W, |
|||
label_anchor = W, |
|||
label_width = 16, |
|||
entry_width = 16, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateDial | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateEntryScale | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateFloater | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateLabeledEntry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
value = '', |
|||
width = 12, |
|||
relief = SUNKEN, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0 |
|||
| ) |
createLabeledEntry(parent, category, text, [options])
| def newCreateOptionMenu | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
items = [], |
|||
labelpos = W, |
|||
label_anchor = W, |
|||
label_width = 16, |
|||
menu_tearoff = 1, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateRadiobutton | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| variable, | |||
| value, | |||
command = None, |
|||
help = '', |
|||
anchor = W, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
createRadiobutton(parent, category, text, variable, value, [options])
| def newCreateSider | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateVector2Entry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def newCreateVector3Entry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
help = '', |
|||
command = None, |
|||
side = LEFT, |
|||
fill = X, |
|||
expand = 0, |
|||
| kw | |||
| ) |
| def onDestroy | ( | self, | |
| event | |||
| ) |
| def quit | ( | self | ) |
| def showAbout | ( | self | ) |
| def toggleBalloon | ( | self | ) |
| def transformRGB | ( | self, | |
| rgb, | |||
max = 1.0 |
|||
| ) |
| def updateProgress | ( | self, | |
newValue = 0, |
|||
newMax = 0 |
|||
| ) |
string appname = 'Generic Application Frame' [static] |
Reimplemented in TestAppShell.
string appversion = '1.0' [static] |
string balloonState = 'none' [static] |
string contactemail = 'Mark.Mine@disney.com' [static] |
string contactname = 'Mark R. Mine' [static] |
string contactphone = '(818) 544-2921' [static] |
tuple copyright [static] |
('Copyright 2004 Walt Disney Imagineering.' + ' All Rights Reserved')
int frameHeight = 320 [static] |
int frameWidth = 450 [static] |
int padx = 5 [static] |
int pady = 5 [static] |
int panelCount = 0 [static] |
int usecommandarea = 0 [static] |
Reimplemented in TestAppShell.
int usestatusarea = 0 [static] |
Reimplemented in TestAppShell.
1.7.3