Adds @controller to @widget so that it will receive events.
You will usually want to call this function right after creating any kind of [class@Gtk.EventController].
a #GtkEventController that hasn't been added to a widget yet
See Implementation
Adds @controller to @widget so that it will receive events.
You will usually want to call this function right after creating any kind of [class@Gtk.EventController].