Function gtk::functions::accelerator_get_label
source · [−]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.