accelerator_name


Description:

public string accelerator_name (uint accelerator_key, ModifierType accelerator_mods)

Converts an accelerator keyval and modifier mask into a string parseable by accelerator_parse.

For example, if you pass in q and CONTROL_MASK, this function returns “<Control>q”.

If you need to display accelerators in the user interface, see accelerator_get_label.

Parameters:

accelerator_key

accelerator keyval

accelerator_mods

accelerator modifier mask

Returns:

a newly-allocated accelerator name


Namespace: Gtk
Package: gtk+-3.0