Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
OpenGLPandaWindow Class Reference
Inheritance diagram for OpenGLPandaWindow:

Public Member Functions

def __init__
 
def cleanup
 
def onIdle
 
def onPaint
 
def onSize
 

Public Attributes

 hasCapture
 
 inputDevice
 
 visible
 
 win
 

Static Public Attributes

dictionary Keymap
 
tuple 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

def __init__ (   self,
  args,
  kw 
)

Member Function Documentation

def cleanup (   self)
Parent windows should call cleanup() to clean up the
wxPandaWindow explicitly (since we can't catch EVT_CLOSE
directly). 
def onIdle (   self,
  event 
)
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.) 
def onSize (   self,
  event 
)

Member Data Documentation

hasCapture
inputDevice
dictionary Keymap
static
tuple removeCallbackWindow = ConfigVariableBool('remove-callback-window', True)
static
visible
win