Reference
Documentation
The GTK+ Input and Event Handling Model
API Classes
Please note that the GTK+ API is split into two logical components: "GTK" and "GDK". The former provides high-level widgets and abstractions, while the latter wraps low-level functions provided by the native windowing system. Most tablet APIs are part of the latter GDK namespace.
GTK
API | Introduced | Description | Note |
---|---|---|---|
https://developer.gnome.org/gtk3/stable/GtkPadController.html | 3.22 | - | - |
https://developer.gnome.org/gtk3/stable/GtkGestureStylus.html | 3.24 | - | - |
GDK
API | Introduced | Description | Note |
---|---|---|---|
https://developer.gnome.org/gdk3/stable/GdkDevice.html | 3.0 | - | - |
https://developer.gnome.org/gdk3/stable/GdkDeviceManager.html | 3.0 | - | Version 3.20 deprecates gdk_device_manager_list_devices() and gdk_device_manager_get_client_pointer() in favor of using similar functions available through GdkSeat. |
https://developer.gnome.org/gdk3/stable/GdkSeat.html | 3.20 | - | - |
https://developer.gnome.org/gdk3/stable/GdkDevicePad.html | 3.22 | Interface available for use with pad devices that allows you to query pad features. | - |
https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventPadButton | 3.22 | GdkEvent sent by pad devices when a button is pressed. Contains information about which button was pressed, what group it is a member of, and which mode was active for that group. | Linux-only |
https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventPadAxis | 3.22 | GdkEvent sent by pad devices when "tactile sensors" like a touch ring or touch strip are used. Contains axis information, along with what group the control is a member of, and which mode was active for that group. | Linux-only |
https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventPadGroupMode | 3.22 | GdkEvent sent by pad devices when a mode-switch event occurs. Contains information about which group changed modes, and what the new mode is.Developers may respond to this event by swapping out the actions currently assigned to the controls in the given group with new actions associated with the updated mode. | Linux-only |