Function

Gtk-4.0Gtkaccelerator_get_label

  • Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.

    Parameters

    • accelerator_key: number

      accelerator keyval

    • accelerator_mods: Gdk.ModifierType

      accelerator modifier mask

    Returns string

    a newly-allocated string representing the accelerator