Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
AppShell Class Reference
Inheritance diagram for AppShell:
DirectObject AnimPanel DirectSessionPanel FSMInspector MopathRecorder ParticlePanel Placer TaskManagerPanel TestAppShell

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
 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
 
 appname
 
 appversion
 
 balloonState
 
 contactemail
 
 contactname
 
 contactphone
 
 copyright
 
 dataArea
 
 frameHeight
 
 frameWidth
 
 id
 
 menuBar
 
 menuFrame
 
 onDestroy
 
 parent
 
 toggleBalloonVar
 
 usecommandarea
 
 usestatusarea
 
 variableDict
 
 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
 
- Protected Attributes inherited from DirectObject
 _taskList
 

Additional Inherited Members

- Protected Member Functions inherited from DirectObject
 _addTask (self, task)
 
 _clearTask (self, task)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
parent = None,
** kw )

Member Function Documentation

◆ addVariable()

addVariable ( self,
category,
text,
variable )

◆ addWidget()

addWidget ( self,
category,
text,
widget )

WIDGET UTILITY FUNCTIONS ##.

Reimplemented in MopathRecorder.

◆ alignbuttons()

alignbuttons ( self)
 Make all buttons wide as widest 

◆ appInit()

appInit ( self)

USER METHODS ### To be overridden.

Reimplemented in DirectSessionPanel, FSMInspector, MopathRecorder, ParticlePanel, and Placer.

◆ balloon()

balloon ( self)

◆ bind()

bind ( self,
child,
balloonHelpMsg,
statusHelpMsg = None )

◆ buttonAdd()

buttonAdd ( self,
buttonName,
helpMessage = None,
statusMessage = None,
** kw )

◆ buttonBox()

buttonBox ( self)

◆ createInterface()

createInterface ( self)

◆ createMenuBar()

createMenuBar ( self)

◆ createWidget()

createWidget ( self,
parent,
category,
text,
widgetClass,
help,
command,
side,
fill,
expand,
kw )

◆ getVariable()

getVariable ( self,
category,
text )

Reimplemented in MopathRecorder, and ParticlePanel.

◆ getWidget()

getWidget ( self,
category,
text )

Reimplemented in MopathRecorder, and ParticlePanel.

◆ interior()

interior ( self)

◆ messageBar()

messageBar ( self)

◆ newCreateButton()

newCreateButton ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )
 createButton(parent, category, text, [options]) 

◆ newCreateCheckbutton()

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()

newCreateColorEntry ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateComboBox()

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()

newCreateDial ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateEntryScale()

newCreateEntryScale ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateFloater()

newCreateFloater ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateLabeledEntry()

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()

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()

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()

newCreateSider ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateVector2Entry()

newCreateVector2Entry ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ newCreateVector3Entry()

newCreateVector3Entry ( self,
parent,
category,
text,
help = '',
command = None,
side = LEFT,
fill = X,
expand = 0,
** kw )

◆ onDestroy()

onDestroy ( self,
event )

◆ quit()

quit ( self)

◆ showAbout()

showAbout ( self)

◆ toggleBalloon()

toggleBalloon ( self)

Reimplemented in FSMInspector.

◆ transformRGB()

transformRGB ( self,
rgb,
max = 1.0 )

◆ updateProgress()

updateProgress ( self,
newValue = 0,
newMax = 0 )

Member Data Documentation

◆ _hull

_hull
protected

◆ about

about

◆ appname [1/2]

str appname = 'Generic Application Frame'
static

◆ appname [2/2]

appname

◆ appversion [1/2]

str appversion = '1.0'
static

◆ appversion [2/2]

appversion

◆ balloonState [1/2]

str balloonState = 'none'
static

◆ balloonState [2/2]

balloonState

◆ contactemail [1/2]

str contactemail = 'Mark.Mine@disney.com'
static

◆ contactemail [2/2]

contactemail

◆ contactname [1/2]

str contactname = 'Mark R. Mine'
static

◆ contactname [2/2]

contactname

◆ contactphone [1/2]

str contactphone = '(818) 544-2921'
static

◆ contactphone [2/2]

contactphone

◆ copyright [1/2]

tuple copyright
static
Initial value:
= ('Copyright 2004 Walt Disney Imagineering.' +
' All Rights Reserved')

◆ copyright [2/2]

copyright

◆ dataArea

dataArea

◆ frameHeight [1/2]

int frameHeight = 320
static

◆ frameHeight [2/2]

frameHeight

◆ frameWidth [1/2]

int frameWidth = 450
static

◆ frameWidth [2/2]

frameWidth

◆ id

id

◆ menuBar

menuBar

◆ menuFrame

menuFrame

◆ onDestroy

onDestroy

◆ padx

int padx = 5
static

◆ pady

int pady = 5
static

◆ panelCount

int panelCount = 0
static

◆ parent

parent

◆ toggleBalloonVar

toggleBalloonVar

◆ usecommandarea [1/2]

int usecommandarea = 0
static

◆ usecommandarea [2/2]

usecommandarea

◆ usestatusarea [1/2]

int usestatusarea = 0
static

◆ usestatusarea [2/2]

usestatusarea

◆ variableDict

variableDict

◆ widgetDict

widgetDict