gtk-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Gtk.LabelA widget that displays an accelerator key on the right of the text.
The widget is a subclass of that also displays an accelerator key on the right of the label text. The widget is commonly used in menus to show the keyboard shortcuts for commands.
The accelerator key to display is not set explicitly instead, the displays the accelerators which have been added to a particular widget. This widget is set by calling .
Constructor
Pointer to the C object.
Internal constructorThis is an internal constructor, and should not be used by user code.Constructor
The accelerator label.
Creates an accelerator label.PropertyGLib.Property("accel-closure")System.IntPtrSets the closure to be monitored by this accelerator label.A
Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group. See .
PropertyGLib.Property("accel-widget")Gtk.WidgetFetches the widget monitored by this accelerator label.The object monitored by the accelerator label, or
Fetches the widget monitored by this accelerator label.
PropertySystem.UInt32Returns the width needed to display the accelerator key(s).The width needed to display the accelerator key(s)
Returns the width needed to display the accelerator key(s). This is used by menus to align all of the widgets, and shouldn't be needed by applications.
PropertyGLib.GTypeThe GLib Type assigned to this class.a Used internally.MethodSystem.BooleanRecreates the string representing the accelerator keys. Default, since the strings are updated this is not needed
Recreates the string representing the accelerator keys. This should not be needed since the string is automatically updated whenever accelerators are added or removed from the associated widget.