accel_string


Description:

public string accel_string (string[]? accels, string? description = null)

Takes a description and an array of accels and returns Pango markup for use in a Gtk.Tooltip. This method uses accel_label.

Example:

Description Shortcut 1, Shortcut 2

Parameters:

accels

string array of accelerator labels like {"<Control>a", "<Super>Right"}

description

a standard tooltip text string

Returns:

Pango markup with the description label on one line and a list of human-readable accels on a new line


Namespace: He.Misc
Package: libhelium-1