|
Panda3D
|
Public Member Functions | |
| __init__ (self, parent=None, **kw) | |
| addVariable (self, category, text, variable) | |
| addWidget (self, category, text, widget) | |
| WIDGET UTILITY FUNCTIONS ##. | |
| alignbuttons (self) | |
| appInit (self) | |
| USER METHODS ### To be overridden. | |
| balloon (self) | |
| bind (self, child, balloonHelpMsg, statusHelpMsg=None) | |
| buttonAdd (self, buttonName, helpMessage=None, statusMessage=None, **kw) | |
| buttonBox (self) | |
| createInterface (self) | |
| createMenuBar (self) | |
| createWidget (self, parent, category, text, widgetClass, help, command, side, fill, expand, kw) | |
| getVariable (self, category, text) | |
| getWidget (self, category, text) | |
| interior (self) | |
| messageBar (self) | |
| newCreateButton (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateCheckbutton (self, parent, category, text, help='', command=None, initialState=0, anchor=W, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateColorEntry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| 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) | |
| newCreateDial (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateEntryScale (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateFloater (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateLabeledEntry (self, parent, category, text, help='', command=None, value='', width=12, relief=SUNKEN, side=LEFT, fill=X, expand=0) | |
| 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) | |
| newCreateRadiobutton (self, parent, category, text, variable, value, command=None, help='', anchor=W, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateSider (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateVector2Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| newCreateVector3Entry (self, parent, category, text, help='', command=None, side=LEFT, fill=X, expand=0, **kw) | |
| onDestroy (self, event) | |
| quit (self) | |
| showAbout (self) | |
| toggleBalloon (self) | |
| transformRGB (self, rgb, max=1.0) | |
| updateProgress (self, newValue=0, newMax=0) | |
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 | |
| about | |
| dataArea | |
| str | id = self.appname + '-' + repr(AppShell.panelCount) |
| menuBar | |
| menuFrame = Frame(self._hull) | |
| onDestroy | |
| parent = Toplevel() | |
| toggleBalloonVar = IntVar() | |
| dict | variableDict = {} |
| dict | widgetDict = {} |
Static Public Attributes | |
| str | appname = 'Generic Application Frame' |
| str | appversion = '1.0' |
| str | balloonState = 'none' |
| str | contactemail = 'Mark.Mine@disney.com' |
| str | contactname = 'Mark R. Mine' |
| str | contactphone = '(818) 544-2921' |
| tuple | copyright |
| int | frameHeight = 320 |
| int | frameWidth = 450 |
| int | padx = 5 |
| int | pady = 5 |
| int | panelCount = 0 |
| int | usecommandarea = 0 |
| int | usestatusarea = 0 |
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 Attributes | |
| _hull = self.component('hull') | |
Protected Attributes inherited from DirectObject | |
| dict | _taskList = {} |
Additional Inherited Members | |
Protected Member Functions inherited from DirectObject | |
| _addTask (self, task) | |
| _clearTask (self, task) | |
| __init__ | ( | self, | |
| parent = None, | |||
| ** | kw ) |
| addVariable | ( | self, | |
| category, | |||
| text, | |||
| variable ) |
| addWidget | ( | self, | |
| category, | |||
| text, | |||
| widget ) |
WIDGET UTILITY FUNCTIONS ##.
Reimplemented in MopathRecorder.
| alignbuttons | ( | self | ) |
Make all buttons wide as widest
| appInit | ( | self | ) |
USER METHODS ### To be overridden.
Reimplemented in DirectSessionPanel, FSMInspector, MopathRecorder, ParticlePanel, and Placer.
| balloon | ( | self | ) |
| bind | ( | self, | |
| child, | |||
| balloonHelpMsg, | |||
| statusHelpMsg = None ) |
| buttonAdd | ( | self, | |
| buttonName, | |||
| helpMessage = None, | |||
| statusMessage = None, | |||
| ** | kw ) |
| buttonBox | ( | self | ) |
| createInterface | ( | self | ) |
Reimplemented in AnimPanel, DirectSessionPanel, FSMInspector, MopathRecorder, ParticlePanel, Placer, TaskManagerPanel, and TestAppShell.
| createMenuBar | ( | self | ) |
| createWidget | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| widgetClass, | |||
| help, | |||
| command, | |||
| side, | |||
| fill, | |||
| expand, | |||
| kw ) |
| getVariable | ( | self, | |
| category, | |||
| text ) |
Reimplemented in MopathRecorder, and ParticlePanel.
| getWidget | ( | self, | |
| category, | |||
| text ) |
Reimplemented in MopathRecorder, and ParticlePanel.
| interior | ( | self | ) |
| messageBar | ( | self | ) |
| newCreateButton | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
createButton(parent, category, text, [options])
| newCreateCheckbutton | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| initialState = 0, | |||
| anchor = W, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
createCheckbutton(parent, category, text, [options])
| newCreateColorEntry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| 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 ) |
| newCreateDial | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| newCreateEntryScale | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| newCreateFloater | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| newCreateLabeledEntry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| value = '', | |||
| width = 12, | |||
| relief = SUNKEN, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0 ) |
createLabeledEntry(parent, category, text, [options])
| 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 ) |
| 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])
| newCreateSider | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| newCreateVector2Entry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| newCreateVector3Entry | ( | self, | |
| parent, | |||
| category, | |||
| text, | |||
| help = '', | |||
| command = None, | |||
| side = LEFT, | |||
| fill = X, | |||
| expand = 0, | |||
| ** | kw ) |
| onDestroy | ( | self, | |
| event ) |
Reimplemented in DirectSessionPanel, FSMInspector, MopathRecorder, Placer, and TaskManagerPanel.
| quit | ( | self | ) |
| showAbout | ( | self | ) |
| toggleBalloon | ( | self | ) |
Reimplemented in FSMInspector.
| transformRGB | ( | self, | |
| rgb, | |||
| max = 1.0 ) |
| updateProgress | ( | self, | |
| newValue = 0, | |||
| newMax = 0 ) |
|
protected |
| about |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| dataArea |
|
static |
|
static |
| str id = self.appname + '-' + repr(AppShell.panelCount) |
| menuBar |
| menuFrame = Frame(self._hull) |
| onDestroy |
Reimplemented in DirectSessionPanel, FSMInspector, MopathRecorder, Placer, and TaskManagerPanel.
|
static |
|
static |
|
static |
| parent = Toplevel() |
| toggleBalloonVar = IntVar() |
|
static |
|
static |
| dict variableDict = {} |
| dict widgetDict = {} |