Gtk.AccelLabel Class
A widget that displays an accelerator key on the right of the text.

See Also: AccelLabel Members

Syntax

public class AccelLabel : Label

Remarks

The Gtk.AccelLabel widget is a subclass of Gtk.Label that also displays an accelerator key on the right of the label text. The Gtk.AccelLabel widget is commonly used in menus to show the keyboard shortcuts for commands.

The accelerator key to display is not set explicitly instead, the Gtk.AccelLabel displays the accelerators which have been added to a particular widget. This widget is set by calling AccelLabel.AccelWidget.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0