Widget.addController
void addController(gtk.event_controller.EventController controller)Adds controller to widget so that it will receive events.
You will usually want to call this function right after creating any kind of [gtk.event_controller.EventController].
Parameters
controller | a [gtk.event_controller.EventController] that hasn't been added to a widget yet |