This is similar to Gtk.accelerator_parse but handles keycodes as
well. This is only useful for system-level components, applications should
use Gtk.accelerator_parse instead.
If accelerator_codes is given and the result stored in it is non-null,
the result must be freed with g_free().
If a keycode is present in the accelerator and no accelerator_codes
is given, the parse will fail.
If the parse fails, accelerator_key, accelerator_mods and
accelerator_codes will be set to 0 (zero).
Parses a string representing an accelerator.
This is similar to Gtk.accelerator_parse but handles keycodes as well. This is only useful for system-level components, applications should use Gtk.accelerator_parse instead.
If
accelerator_codesis given and the result stored in it is non-null, the result must be freed withg_free().If a keycode is present in the accelerator and no
accelerator_codesis given, the parse will fail.If the parse fails,
accelerator_key,accelerator_modsandaccelerator_codeswill be set to 0 (zero).