Function gtk4::accelerator_get_label

source ·
pub fn accelerator_get_label(
    accelerator_key: Key,
    accelerator_mods: ModifierType
) -> 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