Class
GdkX11X11DeviceXI2
Properties
Properties inherited from GdkDevice (15)
Gdk.Device:associated-device
Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
always come in keyboard/pointer pairs. Other device types will have a NULL
associated device.
Gdk.Device:axes
The axes currently available for this device.
Gdk.Device:device-manager
The GdkDeviceManager
the GdkDevice
pertains to.
Gdk.Device:display
The GdkDisplay
the GdkDevice
pertains to.
Gdk.Device:has-cursor
Whether the device is represented by a cursor on the screen. Devices of type
GDK_DEVICE_TYPE_MASTER
will have TRUE
here.
Gdk.Device:input-mode
Gdk.Device:input-source
Source type for the device.
Gdk.Device:n-axes
Number of axes in the device.
Gdk.Device:name
The device name.
Gdk.Device:num-touches
The maximal number of concurrent touches on a touch device. Will be 0 if the device is not a touch device or if the number of touches is unknown.
Gdk.Device:product-id
Product ID of this device, see gdk_device_get_product_id().
Gdk.Device:seat
GdkSeat
of this device.
Gdk.Device:tool
Gdk.Device:type
Device role in the device manager.
Gdk.Device:vendor-id
Vendor ID of this device, see gdk_device_get_vendor_id().
Signals
Signals inherited from GdkDevice (2)
GdkDevice::changed
The ::changed signal is emitted either when the GdkDevice
has changed the number of either axes or keys. For example
In X this will normally happen when the slave device routing
events through the master device changes (for example, user
switches from the USB mouse to a tablet), in that case the
master device will change to reflect the new slave device
axes and keys.
GdkDevice::tool-changed
The ::tool-changed signal is emitted on pen/eraser
GdkDevices
whenever tools enter or leave proximity.
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.