### Function

# Gtkaccelerator_get_label

#### Declaration [src]

    char*
    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.

#### Parameters

`accelerator_key`

  Type: `guint`

  Accelerator keyval.

`accelerator_mods`

  Type: `GdkModifierType`

  Accelerator modifier mask.

#### Return value

Type: `char*`

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.