Method

GdkDevicePadget_feature_group

since: 3.22

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

Type: GdkDevicePadFeature

The feature type to get the group from.

feature_idx

Type: gint

The index of the feature to get the group from.

Return value

Type: gint

The group number of the queried pad feature.