Package: gtk

Accessor gtk:editable-input-interceptor

Lambda List

gtk:editable-input-interceptor (object)

Syntax

(gtk:editable-input-interceptor object) => interceptor
(setf (gtk:editable-input-interceptor object) interceptor)

Arguments

object -- a gtk:editable widget
interceptor -- a gtk:widget for the interceptor widget, or nil

Details

The accessor for the input-interceptor slot gets or sets interceptor as the widget that the editable will intercept key events from. A typical usecase for this is implementing auto-showing search entries, so that textual input may be intercepted from another widget and handled first hand by the given editable. The events will be handled in the bubble phase of interceptor, which means that editable child widgets of interceptor will receive the text input before it can be captured.

Only those events that would be handled by an input method will be handled, this excludes combinations of Ctrl/Alt/Mod, and other shortcuts.

Since 4.24
 

See also

2026-10-25