TypeScript API Documentation for GTK
API Version: 4.0
Library Version: 4.20.3
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Converts an accelerator keyval and modifier mask into a string that can be parsed by Gtk.accelerator_parse.
For example, if you pass in GDK_KEY_q and GDK_CONTROL_MASK, this function returns <Control>q.
GDK_KEY_q
GDK_CONTROL_MASK
<Control>q
If you need to display accelerators in the user interface, see Gtk.accelerator_get_label.
accelerator keyval
accelerator modifier mask
a newly-allocated accelerator name
Converts an accelerator keyval and modifier mask into a string that can be parsed by Gtk.accelerator_parse.
For example, if you pass in
GDK_KEY_qandGDK_CONTROL_MASK, this function returns<Control>q.If you need to display accelerators in the user interface, see Gtk.accelerator_get_label.