PadController.this

Creates a new gtk.PadController that will associate events from pad to actions. A NULL pad may be provided so the controller manages all pad devices generically, it is discouraged to mix gtk.PadController objects with NULL and non-NULL pad argument on the same window, as execution order is not guaranteed.

The gtk.PadController is created with no mapped actions. In order to map pad events to actions, use Pad.controllerSetActionEntries or Pad.controllerSetAction.

  1. this(GtkPadController* gtkPadController, bool ownedRef)
  2. this(Window window, ActionGroupIF group, Device pad)
    class PadController

Parameters

window Window
group ActionGroupIF

gtk.ActionGroup to trigger actions from

pad Device

A GDK_SOURCE_TABLET_PAD device, or NULL to handle all pads

Return Value

A newly created gtk.PadController

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.22