direct.showbase.EventManager

from direct.showbase.EventManager import EventManager

Contains the EventManager class. See EventManagerGlobal for the global eventMgr instance.

Inheritance diagram

Inheritance diagram of direct.showbase.EventManager

class EventManager(eventQueue=None)[source]

Bases: object

__init__(self, eventQueue=None)[source]

Create a C++ event queue and handler

doEvents(self)[source]

Process all the events on the C++ event queue

eventLoopTask(self, task)[source]

Process all the events on the C++ event queue

notify = <direct.directnotify.Notifier.Notifier object>
parseEventParameter(self, eventParameter)[source]

Extract the actual data from the eventParameter

processEvent(self, event)[source]

Process a C++ event Duplicate any changes in processEventPstats

processEventPstats(self, event)[source]

Process a C++ event with pstats tracking Duplicate any changes in processEvent

restart(self)[source]
shutdown(self)[source]