Package: gtk

Function gtk:widget-add-controller

Lambda List

gtk:widget-add-controller (widget controller)

Arguments

widget -- a gtk:widget object
controller -- a gtk:event-controller object that has not added to a widget yet

Details

Adds the event controller to the widget so that it will receive events. You will usually want to call this function right after creating any kind of event controller.
 

See also

2025-2-13