Method

GdkDeviceget_product_id

since: 3.16

Declaration [src]

const gchar*
gdk_device_get_product_id (
  GdkDevice* device
)

Description [src]

Returns the product ID of this device, or NULL if this information couldn’t be obtained. This ID is retrieved from the device, and is thus constant for it. See gdk_device_get_vendor_id() for more information.

Available since: 3.16

Gets propertyGdk.Device:product-id

Return value

Type: const gchar*

The product ID, or NULL.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.