Gtk.EventControllerLegacy

g GObject.Object GObject.Object Gtk.EventController Gtk.EventController GObject.Object->Gtk.EventController Gtk.EventControllerLegacy Gtk.EventControllerLegacy Gtk.EventController->Gtk.EventControllerLegacy

Subclasses:

None

Methods

Inherited:

Gtk.EventController (13), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Gtk.EventController (4)

Signals

Inherited:

GObject.Object (1)

Name

Short Description

event

Emitted for each GDK event delivered to controller.

Fields

Inherited:

GObject.Object (1)

Class Details

class Gtk.EventControllerLegacy(**kwargs)
Bases:

Gtk.EventController

Abstract:

No

Structure:

Gtk.EventControllerLegacyClass

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.

classmethod new()[source]
Returns:

the newly created event controller.

Return type:

Gtk.EventController

Creates a new legacy event controller.

Signal Details

Gtk.EventControllerLegacy.signals.event(event_controller_legacy, event)
Signal Name:

event

Flags:

RUN_LAST

Parameters:
Returns:

True to stop other handlers from being invoked for the event and the emission of this signal. False to propagate the event further.

Return type:

bool

Emitted for each GDK event delivered to controller.