Package: gdk

Interface gdk-device-pad

Superclasses

g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

gdk-device-pad is an interface implemented by devices of type :tablet-pad, it allows querying the features provided by the pad device.

Tablet pads may contain one or more groups, each containing a subset of the buttons/rings/strips available. The function gdk-device-pad-n-groups can be used to obtain the number of groups, the functions gdk-device-pad-n-features and gdk-device-pad-feature-group can be combined to find out the number of buttons/rings/strips the device has, and how are they grouped.

Each of those groups have different modes, which may be used to map each individual pad feature to multiple actions. Only one mode is effective (current) for each given group, different groups may have different current modes. The number of available modes in a group can be found out through the function gdk-device-pad-group-n-modes, and the current mode for a given group will be notified through the gdk-event-pad-group-mode event.
 

Inherited Slot Access Functions

See also

2020-11-9