PadController.this

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

The gtk.pad_controller.PadController 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.

Be aware that pad events will only be delivered to gtk.window.Windows, so adding a pad controller to any other type of widget will not have an effect.

class PadController
this

Parameters

group gio.action_group.ActionGroup

gio.action_group.ActionGroup to trigger actions from

pad gdk.device.Device

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

Return Value