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

Public Member Functions

def __init__ (self, parent=None, kw)
 
def addVariable (self, category, text, variable)
 
def addWidget (self, category, text, widget)
 WIDGET UTILITY FUNCTIONS ##. More...
 
def alignbuttons (self)
 
def appInit (self)
 USER METHODS ### To be overridden. More...
 
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)
 
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)
 
def newCreateCheckbutton (self, parent, category, text, help='', command=None, initialState=0, anchor=W, side=LEFT, fill=X, expand=0, kw)
 
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)
 
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)
 
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)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, args, kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, args, kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 about
 
 balloonState
 
 dataArea
 
 id
 
 menuBar
 
 menuFrame
 
 parent
 
 toggleBalloonVar
 
 variableDict
 
 widgetDict
 

Static Public Attributes

string appname = 'Generic Application Frame'
 
string appversion = '1.0'
 
string balloonState = 'none'
 
string contactemail = 'Mark.Mine@disney.com'
 
string contactname = 'Mark R. Mine'
 
string 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
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parent = None,
  kw 
)

Member Function Documentation

◆ addVariable()

def addVariable (   self,
  category,
  text,
  variable 
)

◆ addWidget()

def addWidget (   self,
  category,
  text,
  widget 
)

WIDGET UTILITY FUNCTIONS ##.

◆ alignbuttons()

def alignbuttons (   self)
Make all buttons wide as widest 

◆ appInit()

def appInit (   self)

USER METHODS ### To be overridden.

◆ balloon()

def balloon (   self)

◆ bind()

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

◆ buttonAdd()

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

◆ buttonBox()

def buttonBox (   self)

◆ createInterface()

def createInterface (   self)

◆ createMenuBar()

def createMenuBar (   self)

◆ createWidget()

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

◆ getVariable()

def getVariable (   self,
  category,
  text 
)

◆ getWidget()

def getWidget (   self,
  category,
  text 
)

◆ interior()

def interior (   self)

◆ messageBar()

def messageBar (   self)

◆ newCreateButton()

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

◆ newCreateCheckbutton()

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

◆ newCreateColorEntry()

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

◆ newCreateComboBox()

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 
)

◆ newCreateDial()

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

◆ newCreateEntryScale()

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

◆ newCreateFloater()

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

◆ newCreateLabeledEntry()

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

◆ newCreateOptionMenu()

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 
)

◆ newCreateRadiobutton()

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

◆ newCreateSider()

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

◆ newCreateVector2Entry()

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

◆ newCreateVector3Entry()

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

◆ onDestroy()

def onDestroy (   self,
  event 
)

◆ quit()

def quit (   self)

◆ showAbout()

def showAbout (   self)

◆ toggleBalloon()

def toggleBalloon (   self)

◆ transformRGB()

def transformRGB (   self,
  rgb,
  max = 1.0 
)

◆ updateProgress()

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

Member Data Documentation

◆ about

about

◆ appname

string appname = 'Generic Application Frame'
static

◆ appversion

string appversion = '1.0'
static

◆ balloonState [1/2]

string balloonState = 'none'
static

◆ balloonState [2/2]

balloonState

◆ contactemail

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

◆ contactname

string contactname = 'Mark R. Mine'
static

◆ contactphone

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

◆ copyright

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

◆ dataArea

dataArea

◆ frameHeight

int frameHeight = 320
static

◆ frameWidth

int frameWidth = 450
static

◆ id

id

◆ menuBar

menuBar

◆ menuFrame

menuFrame

◆ padx

int padx = 5
static

◆ pady

int pady = 5
static

◆ panelCount

int panelCount = 0
static

◆ parent

parent

◆ toggleBalloonVar

toggleBalloonVar

◆ usecommandarea

int usecommandarea = 0
static

◆ usestatusarea

int usestatusarea = 0
static

◆ variableDict

variableDict

◆ widgetDict

widgetDict