Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
OpenGLPandaWindow Class Reference
Inheritance diagram for OpenGLPandaWindow:

Public Member Functions

def __init__ (self, *args, **kw)
 
def cleanup (self)
 
def onIdle (self, event)
 
def onPaint (self, event)
 
def onSize (self, event)
 

Public Attributes

 hasCapture
 
 inputDevice
 
 visible
 
 win
 

Static Public Attributes

dictionary Keymap
 
 removeCallbackWindow = ConfigVariableBool('remove-callback-window', True)
 

Detailed Description

This class implements a Panda3D "window" that actually draws
within the wx GLCanvas object.  It is supported whenever OpenGL is
Panda's rendering engine, and GLCanvas is available in wx. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
args,
**  kw 
)

Member Function Documentation

◆ cleanup()

def cleanup (   self)
Parent windows should call cleanup() to clean up the
wxPandaWindow explicitly (since we can't catch EVT_CLOSE
directly). 

◆ onIdle()

def onIdle (   self,
  event 
)

◆ onPaint()

def onPaint (   self,
  event 
)
This is called whenever we get the first paint event,
at which point we can conclude that the window has
actually been manifested onscreen.  (In X11, there appears
to be no way to know this otherwise.) 

◆ onSize()

def onSize (   self,
  event 
)

Member Data Documentation

◆ hasCapture

hasCapture

◆ inputDevice

inputDevice

◆ Keymap

dictionary Keymap
static

◆ removeCallbackWindow

removeCallbackWindow = ConfigVariableBool('remove-callback-window', True)
static

◆ visible

visible

◆ win

win