Skip to content

Gtk.EventControllerLegacy

class — extends EventController

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

new

@classmethod
def new(cls) -> EventController

Creates a new legacy event controller.

Signals

event

def on_event(self, event: Gdk.Event) -> bool: ...

Emitted for each GDK event delivered to controller.