from panda3d.core import GraphicsWindowProcCallbackData
class GraphicsWindowProcCallbackData

Bases: CallbackData

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

Inheritance diagram

Inheritance diagram of GraphicsWindowProcCallbackData

static getClassType() → TypeHandle
Return type


getNumTouches() → int

Returns the current number of touches on the window.

getTouchInfo(index: int) → TouchInfo

Returns the TouchInfo object describing the specified touch.

Return type


isTouchEvent() → bool

Returns whether the event is a touch event.