PadController.this

Creates a new #GtkPadController 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 #GtkPadController objects with null and non-null pad argument on the same window, as execution order is not guaranteed.

The #GtkPadController is created with no mapped actions. In order to map pad events to actions, use gtk.pad_controller.PadController.setActionEntries or gtk.pad_controller.PadController.setAction.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtk.window.Window window, gio.action_group.ActionGroup group, gdk.device.Device pad)

Parameters

window gtk.window.Window

a #GtkWindow

group gio.action_group.ActionGroup

#GActionGroup to trigger actions from

pad gdk.device.Device

A gdk.types.InputSource.TabletPad device, or null to handle all pads

Return Value

A newly created #GtkPadController