Gtk.Widget.observe_controllers

### Method

# Gtk Widgetobserve_controllers

#### Declaration [src]

    GListModel*
    gtk_widget_observe_controllers (
      GtkWidget* widget
    )

#### Description [src]

Returns a list model to track the event controllers of the 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.

#### Return value

Type: A list model of `GtkEventController`

a list model tracking `widget`‘s controllers.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.