pub fn accelerator_name_with_keycode(
display: Option<&impl IsA<Display>>,
accelerator_key: Key,
keycode: u32,
accelerator_mods: ModifierType,
) -> GString
Expand description
Converts an accelerator keyval and modifier mask
into a string that can be parsed by accelerator_parse_with_keycode()
.
This is similar to accelerator_name()
but handling keycodes.
This is only useful for system-level components, applications
should use accelerator_name()
instead.
§display
§accelerator_key
accelerator keyval
§keycode
accelerator keycode
§accelerator_mods
accelerator modifier mask
§Returns
a newly allocated accelerator name.