Gtk.Widget.remove_controller

### Method

# Gtk Widgetremove_controller

#### Declaration [src]

    void
    gtk_widget_remove_controller (
      GtkWidget* widget,
      GtkEventController* controller
    )

#### Description [src]

Removes `controller` from `widget`, so that it doesn’t process events anymore.

It should not be used again.

Widgets will remove all event controllers automatically when they are destroyed, there is normally no need to call this function.

#### Parameters

`controller`

  Type: `GtkEventController`

  A `GtkEventController`

  The data is owned by the caller of the method.