pub fn accelerator_get_accessible_label(
accelerator_key: u32,
accelerator_mods: ModifierType,
) -> GStringAvailable on crate feature
v4_22 only.Expand description
Generates an accessible description of an accelerator.
This function is similar to 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 reference.
§accelerator_key
accelerator keyval
§accelerator_mods
accelerator modifier mask
§Returns
a newly-allocated string representing the accelerator