Gtk.Widget Class
GtkWidget introduces style properties - these are basically object properties that are stored in the style object associated to the widget.

See Also: Widget Members

Syntax

[GLib.TypeInitializer(typeof(Gtk.Widget), "ClassInit")]
public class Widget : Object, Atk.Implementor

Remarks

Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C.

Use Widget.StyleGetProperty to obtain the value of a style property.

Requirements

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