Panda3D
|
Extends GraphicsWindowProc to provde callback functionality to a python program. More...
#include "pythonGraphicsWindowProc.h"
Public Member Functions | |
PythonGraphicsWindowProc (PyObject *function, PyObject *name) | |
Initializes this PythonGraphicsWindowProc to use the specified callback handler and name. | |
virtual | ~PythonGraphicsWindowProc () |
Decrements references to the handler and name objects. | |
virtual TypeHandle | force_init_type () |
PyObject * | get_name () |
Returns the python name object. | |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Extends GraphicsWindowProc to provde callback functionality to a python program.
Definition at line 27 of file pythonGraphicsWindowProc.h.
PythonGraphicsWindowProc::PythonGraphicsWindowProc | ( | PyObject * | function, |
PyObject * | name | ||
) |
Initializes this PythonGraphicsWindowProc to use the specified callback handler and name.
Definition at line 27 of file pythonGraphicsWindowProc.cxx.
PythonGraphicsWindowProc::~PythonGraphicsWindowProc | ( | ) | [virtual] |
Decrements references to the handler and name objects.
Definition at line 40 of file pythonGraphicsWindowProc.cxx.
PyObject * PythonGraphicsWindowProc::get_name | ( | ) |
Returns the python name object.
Definition at line 72 of file pythonGraphicsWindowProc.cxx.