menuitem_property_set_shortcut


Description:


public bool menuitem_property_set_shortcut (Menuitem menuitem, uint key, ModifierType modifier)

Takes the modifer described by key and modifier and places that into the format sending across Dbus for shortcuts.

Parameters:

menuitem

The Menuitem to set the shortcut on

key

The keycode of the key to send

modifier

A bitmask of modifiers used to activate the item

Returns:

Whether it was successful at setting the property.


Namespace: DbusmenuGtk