Method

Gdk.DevicePad.get_feature_group

Declaration [src]

int
gdk_device_pad_get_feature_group (
  GdkDevicePad* pad,
  GdkDevicePadFeature feature,
  int feature_idx
)

Description [src]

Returns the group the given feature and idx belong to.

f the feature or index do not exist in pad, -1 is returned.

Parameters

feature GdkDevicePadFeature
 

the feature type to get the group from

feature_idx int
 

the index of the feature to get the group from

Return value

Returns: int

The group number of the queried pad feature.