from panda3d.core import Event
- class Event
A named event, possibly with parameters. Anyone in any thread may throw an event at any time; there will be one process responsible for reading and dispacting on the events (but not necessarily immediately).
This function use to inherit from Namable, but that makes it too expensive to get its name the Python code. Now it just copies the Namable interface in.
- __init__(event_name: str, receiver: EventReceiver)
Resets the Event’s name to empty.
- getReceiver() EventReceiver
- property name string
- property receiver EventReceiver
- setReceiver(receiver: EventReceiver)