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 TypeHandle get_class_type(void)
int get_num_touches(void)

Returns the current number of touches on the window.

TouchInfo get_touch_info(int index)

Returns the TouchInfo object describing the specified touch.

bool is_touch_event(void)

Returns whether the event is a touch event.