Method

GtkMenuItemget_accel_path

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

Returns: utf8
 

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 string is a NUL terminated UTF-8 string.