Method

GdkDevicePadget_feature_group

Declaration [src]

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

Description [src]

Returns the group the given feature and idx belong to, or -1 if feature/index do not exist in pad.

Available since:3.22

Parameters

feature GdkDevicePadFeature
 

The feature type to get the group from.

feature_idx gint
 

The index of the feature to get the group from.

Return value

Returns: gint
 

The group number of the queried pad feature.