Function
Gtkaccelerator_get_label_with_keycode
since: 3.4
Declaration [src]
gchar*
gtk_accelerator_get_label_with_keycode(
GdkDisplay*display,
guintaccelerator_key,
guintkeycode,
GdkModifierTypeaccelerator_mods
)
Description [src]
Converts an accelerator keyval and modifier mask into a (possibly translated) string that can be displayed to a user, similarly to gtk_accelerator_get_label(), but handling keycodes.
This is only useful for system-level components, applications
should use gtk_accelerator_parse() instead.
Available since: 3.4
Parameters
display-
Type:
A
GdkDisplayorNULLto use the default display.The argument can beNULL.The data is owned by the caller of the function. accelerator_key-
Type:
guintAccelerator keyval.
keycode-
Type:
guintAccelerator keycode.
accelerator_mods-
Type:
Accelerator modifier mask.
Return value
Type: gchar*
A newly-allocated string representing the accelerator.
The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.