Gtk.StateType Enumeration
An enumeration used to indicate the visual state of a Gtk.Widget.

Syntax

[GLib.GType(typeof(Gtk.StateTypeGType))]
public enum StateType

Remarks

This enumeration is used to indicate the current state of a widget; the state determines how the widget is draw.

This enumeration is also used to identify different colors in a Gtk.Style for drawing, so states can be used for subparts of a widget as well as entire widgets.

Members

Member NameDescription
NormalState during normal operation.
ActiveState of a currently active widget, such as a depressed button.
PrelightState indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
SelectedState of a selected item, such the selected row in a list.
InsensitiveState indicating that the widget is unresponsive to user actions.

Requirements

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