SuperclassesDocumented Subclasses
None
Direct Slotsassociated-deviceThe associated-device property of type gdk:device (Read)
Associated pointer or keyboard with this device, if any. Devices of type :master always come in keyboard/pointer pairs. Other device types will have a nil associated device. axesThe axes property of type gdk:axis-flags (Read) The axes currently available for this device. device-managerThe device-manager property of type gdk:device-manager (Read / Write / Construct) The device manager the device pertains to. displayThe display property of type gdk:display (Read / Write / Construct) The display the device pertains to. has-cursorThe has-cursor property of type :boolean (Read / Write / Construct)
Whether the device is represented by a cursor on the screen. Devices of type :master will have true here. Default value: false input-modeThe input-mode property of type gdk:input-mode (Read / Write) The input mode for the device. Default value: :disabled input-sourceThe input-source property of type gdk:input-source (Read / Write / Construct) The source type for the device. Default value: :mouse n-axesThe n-axes property of type :uint (Read) The number of axes in the device. Default value: 0 nameThe name property of type :string (Read / Write / Construct) The device name. Default value: nil num-touchesThe num-touches property of type :uint (Read / Write / Construct)
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. Default value: 0 product-idThe product-id property of type :string (Read / Write / Construct) The product ID of the device. Default value: nil seatThe seat property of type gdk:seat (Read / Write) The seat of the device. toolThe tool property of type gdk:device-tool (Read) The device tool that is currently used with this device. typeThe type property of type gdk:device-type (Read / Write / Construct) Device role in the device manager. Default value: :master vendor-idThe vendor-id property of type :string (Read / Write / Construct) The vendor ID of this device. Default value: nil Details The gdk:device object represents a single input device, such as a
keyboard, a mouse, a touchpad, etc. See the gdk:device-manager documentation for more information about
the various kinds of master and slave devices, and their
relationships. Signal Details
The "changed" signal
lambda (device) :run-last The signal is emitted either when the gdk:device object 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. |
| Slot Access FunctionsInherited Slot Access FunctionsSee also |