Panda3D
Public Member Functions | Static Public Member Functions

PythonGraphicsWindowProc Class Reference

Extends GraphicsWindowProc to provde callback functionality to a python program. More...

#include "pythonGraphicsWindowProc.h"

Inheritance diagram for PythonGraphicsWindowProc:
GraphicsWindowProc

List of all members.

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 ()

Detailed Description

Extends GraphicsWindowProc to provde callback functionality to a python program.

Definition at line 27 of file pythonGraphicsWindowProc.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

PyObject * PythonGraphicsWindowProc::get_name ( )

Returns the python name object.

Definition at line 72 of file pythonGraphicsWindowProc.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations