Function

Gtk-3.0Gtkaccelerator_name_with_keycodeSince 3.4

  • Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse_with_keycode(), similarly to gtk_accelerator_name() but handling keycodes. This is only useful for system-level components, applications should use gtk_accelerator_parse() instead.

    Parameters

    • display: Gdk.Display

      a Gdk.Display or null to use the default display

    • accelerator_key: number

      accelerator keyval

    • keycode: number

      accelerator keycode

    • accelerator_mods: Gdk.ModifierType

      accelerator modifier mask

    Returns string

    a newly allocated accelerator name.

    3.4