acceleratorName

fun acceleratorName(acceleratorKey: <Error class: unknown class>, acceleratorMods: <Error class: unknown class>): String

Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse().

For example, if you pass in %GDK_KEY_q and %GDK_CONTROL_MASK, this function returns <Control>q.

If you need to display accelerators in the user interface, see func@Gtk.accelerator_get_label.

Return

a newly-allocated accelerator name

Parameters

acceleratorKey

accelerator keyval

acceleratorMods

accelerator modifier mask