Function

Gtkaccelerator_get_label

since: 2.6

Declaration [src]

gchar*
gtk_accelerator_get_label (
  guint accelerator_key,
  GdkModifierType accelerator_mods
)

Description [src]

Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.

Available since: 2.6

Parameters

accelerator_key

Type: guint

Accelerator keyval.

accelerator_mods

Type: GdkModifierType

Accelerator modifier mask.

Return value

Type: gchar*

A newly-allocated string representing the accelerator.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.