Widget.observeControllers

Returns a gio.list_model.ListModel to track the gtk.event_controller.EventControllers of widget.

Calling this function will enable extra internal bookkeeping to track controllers and emit signals on the returned listmodel. It may slow down operations a lot.

Applications should try hard to avoid calling this function because of the slowdowns.

class Widget
observeControllers
()

Return Value

Type: gio.list_model.ListModel

a gio.list_model.ListModel tracking widget's controllers