Method

GtkAccelLabelset_accel

since: 3.6

Declaration [src]

void
gtk_accel_label_set_accel (
  GtkAccelLabel* accel_label,
  guint accelerator_key,
  GdkModifierType accelerator_mods
)

Description [src]

Manually sets a keyval and modifier mask as the accelerator rendered by accel_label.

If a keyval and modifier are explicitly set then these values are used regardless of any associated accel closure or widget.

Providing an accelerator_key of 0 removes the manual setting.

Available since: 3.6

Parameters

accelerator_key

Type: guint

A keyval, or 0.

accelerator_mods

Type: GdkModifierType

The modifier mask for the accel.