Takes a description and an array of accels and returns Pango markup for use in a Gtk.Tooltip. This method uses Granite.accel_to_string.
Example:
Description Shortcut 1, Shortcut 2
description |
a standard tooltip text string |
a |
string array of accelerator labels like {"<Control>a", "<Super>Right"} |
Pango markup with the description label on one line and a list of human-readable accels on a new line |