Panda3D
|
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) | |
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.
def __init__ | ( | self, | |
args, | |||
kw | |||
) |
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 | |||
) |
hasCapture |
inputDevice |
|
static |
|
static |
visible |
win |