accelerator_name_with_keycode


Description:


public string accelerator_name_with_keycode (Display? display, uint accelerator_key, uint keycode, ModifierType accelerator_mods)

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

This is similar to [func@Gtk.accelerator_name] but handling keycodes. This is only useful for system-level components, applications should use [func@Gtk.accelerator_name] instead.

Parameters:

display

a `GdkDisplay` or null to use the default display

accelerator_key

accelerator keyval

keycode

accelerator keycode

accelerator_mods

accelerator modifier mask

Returns:

a newly allocated accelerator name.


Namespace: Gtk
Package: gtk4