Function gtk4::functions::accelerator_get_label [−][src]
pub fn accelerator_get_label(
accelerator_key: u32,
accelerator_mods: ModifierType
) -> Option<GString>
Expand description
Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.
accelerator_key
accelerator keyval
accelerator_mods
accelerator modifier mask
Returns
a newly-allocated string representing the accelerator