EventControllerLegacy

class EventControllerLegacy(**properties: Any)

Superclasses: EventController, Object

GtkEventControllerLegacy is an event controller that provides raw access to the event stream.

It should only be used as a last resort if none of the other event controllers or gestures do the job.

Constructors

class EventControllerLegacy
classmethod new() EventController

Creates a new legacy event controller.

Signals

class EventControllerLegacy.signals
event(event: Event) bool

Emitted for each GDK event delivered to controller.

Parameters:

event – the GdkEvent which triggered this signal