GraphicsWindowProcCallbackData

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

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getNumTouches()

C++ Interface: get_num_touches(const GraphicsWindowProcCallbackData self)

/**
  • Returns the current number of touches on the window.

*/

getTouchInfo()

C++ Interface: get_touch_info(const GraphicsWindowProcCallbackData self, int index)

/**
  • Returns the TouchInfo object describing the specified touch.

*/

get_class_type()

C++ Interface: get_class_type()

get_num_touches()

C++ Interface: get_num_touches(const GraphicsWindowProcCallbackData self)

/**
  • Returns the current number of touches on the window.

*/

get_touch_info()

C++ Interface: get_touch_info(const GraphicsWindowProcCallbackData self, int index)

/**
  • Returns the TouchInfo object describing the specified touch.

*/

isTouchEvent()

C++ Interface: is_touch_event(const GraphicsWindowProcCallbackData self)

/**
  • Returns whether the event is a touch event.

*/

is_touch_event()

C++ Interface: is_touch_event(const GraphicsWindowProcCallbackData self)

/**
  • Returns whether the event is a touch event.

*/