Function

Hemisc_accel_label

Declaration

gchar*
he_misc_accel_label (
  const gchar* accel
)

Description [src]

Converts a gtk_accelerator_parse style accel string to a human-readable string..

Parameters

accel

Type: const gchar*

an accelerator label like “<Control>a” or “<Super>Right” .

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

a human-readable string like "Ctrl + A" or "⯁ + →" .

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.