Converts an accelerator keyval and modifier mask into a string parseable by gtk.global.acceleratorParse.
For example, if you pass in GDK_KEY_q and gdk.types.ModifierType.ControlMask, this function returns <Control>q.
If you need to display accelerators in the user interface, see funcGtk.accelerator_get_label.
accelerator keyval
accelerator modifier mask
a newly-allocated accelerator name
Converts an accelerator keyval and modifier mask into a string parseable by gtk.global.acceleratorParse.
For example, if you pass in GDK_KEY_q and gdk.types.ModifierType.ControlMask, this function returns <Control>q.
If you need to display accelerators in the user interface, see funcGtk.accelerator_get_label.