Panda3D
Loading...
Searching...
No Matches
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

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

Public Attributes

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

Static Public Attributes

str appname = 'Panda3D Generic WX Frame'
 
str appversion = '1.0'
 
tuple copyright
 
int frameHeight = 600
 
int frameWidth = 800
 
dict MENU_TEXTS
 
- Static Public Attributes inherited from WxAppShell
str appname = 'Generic Application Frame'
 
str appversion = '1.0'
 
str balloonState = 'none'
 
str contactemail = 'Gyedo.Jeon@disney.com'
 
str 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
 

Additional Inherited Members

- Protected Attributes inherited from WxAppShell
 _logWin
 

Detailed Description

 Class for Panda3D LevelEditor 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
fStartDirect = False )

Reimplemented from WxAppShell.

Reimplemented in LevelEditorUI, and LevelEditorUIBase.

Member Function Documentation

◆ appInit()

appInit ( self)
Overridden from WxAppShell.py.

Reimplemented from WxAppShell.

◆ createInterface()

createInterface ( self)

Reimplemented from WxAppShell.

Reimplemented in LevelEditorUIBase.

◆ createMenu()

createMenu ( self)

Reimplemented in LevelEditorUIBase.

◆ getCurrentView()

getCurrentView ( self)
Function for get the current Viewport

◆ initialize()

initialize ( self)
Initializes the viewports and editor.

◆ onViewChange()

onViewChange ( self,
evt,
viewIdx )

◆ wxStep()

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 [1/2]

str appname = 'Panda3D Generic WX Frame'
static

◆ appname [2/2]

appname

◆ appversion

str 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

dict 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

◆ wxStep

wxStep