Class
GdkDevice
since: 4.0
Description [src]
abstract class Gdk.Device : GObject.Object
{
/* No available fields */
}
The GdkDevice
object represents an input device, such
as a keyboard, a mouse, or a touchpad.
See the GdkSeat
documentation for more information
about the various kinds of devices, and their relationships.
Available since: 4.0
Instance methods
gdk_device_get_caps_lock_state
Retrieves whether the Caps Lock modifier of the keyboard is locked.
since: 4.0
gdk_device_get_num_lock_state
Retrieves whether the Num Lock modifier of the keyboard is locked.
since: 4.0
gdk_device_get_scroll_lock_state
Retrieves whether the Scroll Lock modifier of the keyboard is locked.
since: 4.0
gdk_device_get_surface_at_position
Obtains the surface underneath device
, returning the location of the
device in win_x
and win_y
.
since: 4.0
gdk_device_has_bidi_layouts
Determines if layouts for both right-to-left and left-to-right languages are in use on the keyboard.
since: 4.0
Properties
Gdk.Device:has-bidi-layouts
Whether the device has both right-to-left and left-to-right layouts.
since: 4.0
Signals
Gdk.Device::tool-changed
Emitted on pen/eraser devices whenever tools enter or leave proximity.
since: 4.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
since: 2.0