Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
GraphicsWindowProcCallbackData Class Reference

This specialization on CallbackData is passed when the callback is initiated from from an implementation of the GraphicsWindowProc class, such as PythonGraphicsWindowProc. More...

Inheritance diagram for GraphicsWindowProcCallbackData:
CallbackData TypedObject

List of all members.

Public Member Functions

int getNumTouches ()
 Returns the current number of touches on the window.
TouchInfo getTouchInfo (int index)
 Returns the TouchInfo object describing the specified touch.
bool isTouchEvent ()
 Returns whether the event is a touch event.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This specialization on CallbackData is passed when the callback is initiated from from an implementation of the GraphicsWindowProc class, such as PythonGraphicsWindowProc.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from CallbackData.

Returns the current number of touches on the window.

Returns the TouchInfo object describing the specified touch.

bool isTouchEvent ( )

Returns whether the event is a touch event.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties