This function gets a GTK shortcut as a key and a mask for use to set the accelerators.
menuitem |
The Menuitem to get the shortcut off |
key |
Location to put the key value |
modifier |
Location to put the modifier mask |