GtkMenuItem::set_item_accel_path

void set_item_accel_path(string accel_path);

Set the accelerator path on the menu item, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage (see accel_map_save() ).

To setup a default accelerator for this menu item, call accel_map_add_entry() with the same accel_path.

See also: accel_map_save() , accel_map_add_entry() , set_menu_accel_path()