GdkWayland.WaylandDevice¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GdkWayland.WaylandDevice(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The Wayland implementation of
GdkDevice
.Beyond the regular [class`Gdk`.Device] API, the Wayland implementation provides access to Wayland objects such as the
wl_seat
with [method`GdkWayland`.WaylandDevice.get_wl_seat], thewl_keyboard
with [method`GdkWayland`.WaylandDevice.get_wl_keyboard] and thewl_pointer
with [method`GdkWayland`.WaylandDevice.get_wl_pointer].- get_node_path()¶
-
Returns the
/dev/input/event*
path of this device.For ``GdkDevice``s that possibly coalesce multiple hardware devices (eg. mouse, keyboard, touch,…), this function will return
None
.This is most notably implemented for devices of type
Gdk.InputSource.PEN
,Gdk.InputSource.TABLET_PAD
.