Panda3D
Public Member Functions | Static Public Member Functions | List of all members
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

Public Member Functions

int getNumTouches ()
 Returns the current number of touches on the window. More...
 
TouchInfo getTouchInfo (int index)
 Returns the TouchInfo object describing the specified touch. More...
 
bool isTouchEvent ()
 Returns whether the event is a touch event. More...
 
- Public Member Functions inherited from CallbackData
 output (Ostream out)
 
 upcall ()
 You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback. More...
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from CallbackData
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

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

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getNumTouches()

int getNumTouches ( )

Returns the current number of touches on the window.

◆ getTouchInfo()

TouchInfo getTouchInfo ( int  index)

Returns the TouchInfo object describing the specified touch.

◆ isTouchEvent()

bool isTouchEvent ( )

Returns whether the event is a touch event.