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 gdk_key_q and gdk_control_mask, this function returns `<Control>q`.

If you need to display accelerators in the user interface, see [[email protected]_get_label].

Parameters:

accelerator_key

accelerator keyval

accelerator_mods

accelerator modifier mask

Returns:

a newly-allocated accelerator name


Namespace: Gtk
Package: gtk4



2022 vala-language.org