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

isTouchEvent() → bool

Returns whether the event is a touch event.

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


static getClassType() → TypeHandle
Return type