Skip to main content

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

APIIntroducedDescriptionNote
https://developer.gnome.org/gtk3/stable/GtkPadController.html3.22--
https://developer.gnome.org/gtk3/stable/GtkGestureStylus.html3.24--

GDK

APIIntroducedDescriptionNote
https://developer.gnome.org/gdk3/stable/GdkDevice.html3.0--
https://developer.gnome.org/gdk3/stable/GdkDeviceManager.html3.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.html3.20--
https://developer.gnome.org/gdk3/stable/GdkDevicePad.html3.22Interface available for use with pad devices that allows you to query pad features.-
https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventPadButton3.22GdkEvent 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#GdkEventPadAxis3.22GdkEvent 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#GdkEventPadGroupMode3.22GdkEvent 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