accelerator_get_accessible_label


Description:


[ Version ( since = "4.22" ) ]
public string accelerator_get_accessible_label (uint accelerator_key, ModifierType accelerator_mods)

Generates an accessible description of an accelerator.

This function is similar to [func@Gtk.accelerator_get_label] but it is meant for accessibility layers labels rather than user-facing labels. The output of this function is fit for [enum@Gtk.AccessibleProperty.KEY_SHORTCUTS].

For more information, see the [WAI-ARIA](https://www.w3.org/TR/wai-aria/aria-keyshortcuts) reference.

Parameters:

accelerator_key

accelerator keyval

accelerator_mods

accelerator modifier mask

Returns:

a newly-allocated string representing the accelerator


Namespace: Gtk
Package: gtk4