tida.event

A module for listening to incoming events from the window manager for their subsequent processing.

Such a layer does not admit events directly to the data, but whether it can show what is happening at the moment, which can serve as a cross-plotter tracking of events.

Using the IEventHandler.nextEvent function, you can scroll through the queue of events that can be processed and at each queue, the programmer needs to track the events he needs by the functions of the same interface:

while (event.nextEvent()) {
    if (event.keyDown == Key.Space) foo();
}

As you can see, we loop through each event and read what happened.

Members

Classes

EventHandler
class EventHandler
Undocumented in source.
EventHandler
class EventHandler
Undocumented in source.

Enums

Key
enum Key
Undocumented in source.
Key
enum Key
Undocumented in source.
MouseButton
enum MouseButton

Mouse keys.

Interfaces

IEventHandler
interface IEventHandler

Interface for cross-platform listening for events from the window manager.

Manifest constants

DeprecatedMethodSize
enum DeprecatedMethodSize;
Undocumented in source.

Meta

Authors

License