Value | Symbolic name | Description |
0 | GTK_TOPLEVEL |
Marks a widget as toplevel. This would generally be used internally
by GTK.
|
1 | GTK_NO_WINDOW |
Marks a widget as having no GDK window. This would generally be used
internally by GTK, and indicates that the widget is unable to capture
GDK events. See also: GtkEventBox.
|
2 | GTK_REALIZED |
Marks a widget as having been realized, that is, having its
GdkWindow instantiated.
|
3 | GTK_MAPPED |
Marks a widget as having been mapped to the screen. In order to be
mapped, a widget must have the GTK_VISIBLE
flag set. See also:
realize() ,
map() ,
show() .
|
4 | GTK_VISIBLE |
Marks a widget as visible. This is necessary before the widget can
be mapped onto the screen.
|
5 | GTK_SENSITIVE |
Marks a widget as able to react to user input.
|
6 | GTK_PARENT_SENSITIVE |
Marks the parent of a widget as able to react to user input.
|
7 | GTK_CAN_FOCUS |
Marks a widget as able to have focus.
|
8 | GTK_HAS_FOCUS |
Gives a widget focus.
|
9 | GTK_CAN_DEFAULT |
Marks a widget as able to have default status. This also has the effect
of drawing the widget with enough space around it to display its default
style.
|
10 | GTK_HAS_DEFAULT |
Gives a widget default status. The widget will respond directly to
keyboard events, and will be drawn in such a way as to make this
apparent to the user.
|
11 | GTK_HAS_GRAB |
Mostly used internally, to ensure that the widget currently having focus
is able to grab events relevant to it. Note that flagging a widget in
this way requires that the widget is also flagged as sensitive and has
its reference count increased. Flagging the widget does not in itself
have any bearing on the widget's relationship with other widgets; if
you want modality, use GtkWindow's
set_modal() method or the static
function gtk::grab_add() as appropriate.
|
12 | GTK_RC_STYLE |
|
13 | GTK_COMPOSITE_CHILD |
|
14 | GTK_NO_REPARENT |
|
15 | GTK_APP_PAINTABLE |
|
16 | GTK_RECEIVES_DEFAULT |
A widget flagged in this way will receive the default action and have
GTK_HAS_DEFAULT set when it is focused, even if
there is a different widget set as default.
|