Device
The GdkDevice
object represents an input device, such as a keyboard, a mouse, or a touchpad.
See the class@Gdk.Seat documentation for more information about the various kinds of devices, and their relationships.
Skipped during bindings generation
parameter
win_x
: win_x: Out parameter is not supportedmethod
has-bidi-layouts
: Property has no getter nor settermethod
n-axes
: Property has no getter nor setter
Constructors
Properties
Whether Caps Lock is on.
The current modifier state of the device.
Whether Num Lock is on.
The maximal number of concurrent touches on a touch device.
Whether Scroll Lock is on.
Source type for the device.
The GdkDeviceTool
that is currently used with this device.
Functions
Emitted either when the number of either axes or keys changes.
Emitted on pen/eraser devices whenever tools enter or leave proximity.
Returns the timestamp of the last activity for this device.
Determines if layouts for both right-to-left and left-to-right languages are in use on the keyboard.