direct.tkwidgets.AppShell
from direct.tkwidgets.AppShell import AppShell, TestAppShell, resetVariableDict, resetWidgetDict
AppShell provides a GUI application framework. This is an adaption of AppShell.py found in Python and Tkinter Programming by John E. Grayson which is a streamlined adaptation of GuiAppD.py, originally created by Doug Hellmann (doughellmann@mindspring.com).
Inheritance diagram
- class AppShell(parent=None, **kw)[source]
Bases:
MegaWidget,DirectObject- appname = 'Generic Application Frame'
- appversion = '1.0'
- balloonState = 'none'
- contactemail = 'Mark.Mine@disney.com'
- contactname = 'Mark R. Mine'
- contactphone = '(818) 544-2921'
- copyright = 'Copyright 2004 Walt Disney Imagineering. All Rights Reserved'
- frameHeight = 320
- frameWidth = 450
- newCreateButton(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
createButton(parent, category, text, [options])
- newCreateCheckbutton(parent, category, text, help='', command=None, initialState=0, anchor='w', side='left', fill='x', expand=0, **kw)[source]
createCheckbutton(parent, category, text, [options])
- newCreateColorEntry(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateComboBox(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)[source]
- newCreateDial(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateEntryScale(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateFloater(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateLabeledEntry(parent, category, text, help='', command=None, value='', width=12, relief='sunken', side='left', fill='x', expand=0)[source]
createLabeledEntry(parent, category, text, [options])
- newCreateOptionMenu(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)[source]
- newCreateRadiobutton(parent, category, text, variable, value, command=None, help='', anchor='w', side='left', fill='x', expand=0, **kw)[source]
createRadiobutton(parent, category, text, variable, value, [options])
- newCreateSider(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateVector2Entry(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- newCreateVector3Entry(parent, category, text, help='', command=None, side='left', fill='x', expand=0, **kw)[source]
- padx = 5
- pady = 5
- panelCount = 0
- usecommandarea = 0
- usestatusarea = 0
