Method

Gdk.Device.get_product_id

Declaration [src]

const char*
gdk_device_get_product_id (
  GdkDevice* device
)

Description [src]

Returns the product ID of this device.

This ID is retrieved from the device, and does not change. See gdk_device_get_vendor_id() for more information.

Gets propertyGdk.Device:product-id

Return value

Returns: const char*

the product ID, or NULL

Ownership is not transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string