Gtk.WidgetFlags Enumeration
Tells about certain properties of the widget.

Syntax

[GLib.GType(typeof(Gtk.WidgetFlagsGType))]
[System.Flags]
public enum WidgetFlags

Remarks

Members

Member NameDescription
ToplevelWidgets without a real parent, as there are Gtk.Windows and Gtk.Menus have this flag set throughout their lifetime.
NoWindowIndicative for a widget that does not provide its own Gdk.Window.
Realized Set by Widget.Realize, unset by Widget.Unrealize.
MappedSet by Widget.Map, unset by Widget.Map.
Visible Set by Widget.Show, unset by Widget.Hide. Implies that a widget will be mapped as soon as its parent is mapped.
SensitiveSet and unset by Widget.Sensitive. The sensitivity of a widget determines whether it will receive certain events (e.g. button or key presses).
ParentSensitiveSet and unset by Widget.Sensitive operations on the parents of the widget.
CanFocusDetermines whether a widget is able to handle focus grabs.
HasFocus Set by Widget.GrabFocus for widgets that also have WidgetFlags.CanFocus set.
CanDefaultThe widget is allowed to receive the default action via Widget.GrabDefault.
HasDefault The widget currently is receiving the default action.
HasGrab Set by Widget.GrabDefaultgtk_grab_add(), unset by gtk_grab_remove().
RcStyleIndicates that the widgets style has been looked up through the rc mechanism.
CompositeChildIndicates that the widget is a composite child of its parent.
NoReparentUnused since before GTK 1.2, will be removed in a future version.
AppPaintableSet and unset by Widget.AppPaintable.
ReceivesDefaultThe widget when focused will receive the default action and have WidgetFlags.HasDefault set even if there is a different widget set as default.
DoubleBufferedSet and unset by Widget.DoubleBuffered. Indicates that exposes done on the widget should be double-buffered.
NoShowAllWhether calls to ShowAll and HideAll will effect the widget.

Requirements

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