1.60 <GtkEventControllerLegacy>

Class: <GtkEventControllerLegacy>

It derives from <GtkEventController>.

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.

Procedures

Procedure: event-controller-legacy:new ⇒ %return

Creates a new legacy event controller.

%return

Returned: a <GtkEventController>.

the newly created event controller.

Signals

Signal: event-controller-legacy:event

Connect a handler with (connect object event-controller-legacy:event handler). It is called as (handler self event) ⇒ %return.

Emitted for each GDK event delivered to controller.

self

Passed: a <GtkEventControllerLegacy>.

event

Passed: a <GdkEvent>.

the <GdkEvent> which triggered this signal

%return

Returned: a boolean.

#t to stop other handlers from being invoked for the event and the emission of this signal. #f to propagate the event further.