since: 2.14

Declaration [src]

const gchar*
gtk_menu_item_get_accel_path (
  GtkMenuItem* menu_item

Description [src]

Retrieve the accelerator path that was previously set on menu_item.

See gtk_menu_item_set_accel_path() for details.

Available since: 2.14

Return value

Type: const gchar*

The accelerator path corresponding to this menu item’s functionality, or NULL if not set.

The data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.