Package: gdk
Accessor gdk-device-vendor-id
Lambda Listgdk-device-vendor-id (object) SyntaxArgumentsDetails Accessor of the vendor-id slot of the gdk-device
class. The gdk-device-vendor-id slot access function returns the vendor ID of this device, or nil if this information could not be obtained. This ID is retrieved from the device, and is thus constant for it. This function, together with the gdk-device-product-id function, can be used to e.g. compose GSettings paths to store settings for this device. Examplestatic GSettings * get_device_settings (GdkDevice *device) { const gchar *vendor, *product; GSettings *settings; GdkDevice *device; gchar *path; | See also |
2020-11-8