menuitem_property_set_shortcut_string


Description:


public bool menuitem_property_set_shortcut_string (Menuitem menuitem, string shortcut)

This function takes a GTK shortcut string as defined in accelerator_parse and turns that into the information required to send it over DBusmenu.

Parameters:

menuitem

The Menuitem to set the shortcut on

shortcut

String describing the shortcut

Returns:

Whether it was successful at setting the property.


Namespace: DbusmenuGtk