ShortcutTrigger.printLabel

bool printLabel(gdk.display.Display display, glib.string_.String string_)

Prints the given trigger into a string.

This function is returning a translated string for presentation to end users for example in menu items or in help texts.

The display in use may influence the resulting string in various forms, such as resolving hardware keycodes or by causing display-specific modifier names.

The form of the representation may change at any time and is not guaranteed to stay identical.

Parameters

display[gdk.display.Display] to print for
string_a [glib.string_.String] to print into

Returns

true if something was printed or false if the

trigger did not have a textual representation suitable for end users.