Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
WxPandaShell Class Reference
Inheritance diagram for WxPandaShell:
WxAppShell LevelEditorUIBase LevelEditorUI

Public Member Functions

def __init__ (self, fStartDirect=False)
 
def appInit (self)
 
def createInterface (self)
 
def createMenu (self)
 
def getCurrentView (self)
 
def initialize (self)
 
def onViewChange (self, evt, viewIdx)
 
def wxStep (self, task=None)
 
- Public Member Functions inherited from WxAppShell
def __init__ (self, *args, **kw)
 
def createMenuBar (self)
 
def onDestroy (self, event)
 
def quit (self, event=None)
 
def showAbout (self, event)
 

Public Attributes

 baseFrame
 
 currentView
 
 evtLoop
 
 frontView
 
 fStartDirect
 
 leftBarDownPane
 
 leftBarUpPane
 
 leftFrame
 
 leftView
 
 mainFrame
 
 menuView
 
 oldLoop
 
 perspView
 
 perspViewMenuItem
 
 rightBarDownPane
 
 rightBarUpPane
 
 rightFrame
 
 topView
 
 viewFrame
 
 wxApp
 
- Public Attributes inherited from WxAppShell
 about
 
 menuBar
 
 menuFile
 
 menuHelp
 

Static Public Attributes

string appname = 'Panda3D Generic WX Frame'
 
string appversion = '1.0'
 
tuple copyright
 
int frameHeight = 600
 
int frameWidth = 800
 
dictionary MENU_TEXTS
 
- Static Public Attributes inherited from WxAppShell
string appname = 'Generic Application Frame'
 
string appversion = '1.0'
 
string balloonState = 'none'
 
string contactemail = 'Gyedo.Jeon@disney.com'
 
string contactname = 'Gyedo Jeon'
 
tuple copyright
 
int frameHeight = 320
 
int frameWidth = 450
 
int padx = 5
 
int pady = 5
 
int panelCount = 0
 
int usecommandarea = 0
 
int usestatusarea = 0
 

Detailed Description

Class for Panda3D LevelEditor 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  fStartDirect = False 
)

Reimplemented in LevelEditorUIBase, and LevelEditorUI.

Member Function Documentation

◆ appInit()

def appInit (   self)
Overridden from WxAppShell.py.

Reimplemented from WxAppShell.

◆ createInterface()

def createInterface (   self)

Reimplemented from WxAppShell.

Reimplemented in LevelEditorUIBase.

◆ createMenu()

def createMenu (   self)

Reimplemented in LevelEditorUIBase.

◆ getCurrentView()

def getCurrentView (   self)
Function for get the current Viewport

◆ initialize()

def initialize (   self)
Initializes the viewports and editor.

◆ onViewChange()

def onViewChange (   self,
  evt,
  viewIdx 
)

◆ wxStep()

def wxStep (   self,
  task = None 
)
A step in the WX event loop. You can either call this yourself or use as task.

Member Data Documentation

◆ appname

string appname = 'Panda3D Generic WX Frame'
static

◆ appversion

string appversion = '1.0'
static

◆ baseFrame

baseFrame

◆ copyright

tuple copyright
static
Initial value:
= ('Copyright 2010 Disney Online Studios.' +
'\nAll Rights Reserved.')

◆ currentView

currentView

◆ evtLoop

evtLoop

◆ frameHeight

int frameHeight = 600
static

◆ frameWidth

int frameWidth = 800
static

◆ frontView

frontView

◆ fStartDirect

fStartDirect

◆ leftBarDownPane

leftBarDownPane

◆ leftBarUpPane

leftBarUpPane

◆ leftFrame

leftFrame

◆ leftView

leftView

◆ mainFrame

mainFrame

◆ MENU_TEXTS

dictionary MENU_TEXTS
static
Initial value:
= {
ID_FOUR_VIEW : ("Four Views", None),
ID_TOP_VIEW : ("Top View", None),
ID_FRONT_VIEW : ("Front View", None),
ID_LEFT_VIEW : ("Left View", None),
ID_PERSP_VIEW : ("Persp View", None),
}

◆ menuView

menuView

◆ oldLoop

oldLoop

◆ perspView

perspView

◆ perspViewMenuItem

perspViewMenuItem

◆ rightBarDownPane

rightBarDownPane

◆ rightBarUpPane

rightBarUpPane

◆ rightFrame

rightFrame

◆ topView

topView

◆ viewFrame

viewFrame

◆ wxApp

wxApp