Method

IdeSourceViewadd_controller

Declaration

void
ide_source_view_add_controller (
  IdeSourceView* self,
  int priority,
  GtkEventController* controller
)

Description

Adds a controller with a priority so that capture/bubble can be applied in a known order.

Parameters

priority

Type: int

The sort priority.

controller

Type: GtkEventController

A GtkEventController.

The instance takes ownership of the data, and is responsible for freeing it.