File: gtk-constants.html

package info (click to toggle)
python-gtk2-doc 2.5.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,304 kB
  • ctags: 3,741
  • sloc: makefile: 38
file content (345 lines) | stat: -rw-r--r-- 95,712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gtk Constants</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="previous" href="gtk-stock-items.html" title="Stock Items"><link rel="next" href="gdk-class-reference.html" title="The gtk.gdk Class Reference"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk Constants</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gtk-stock-items.html">Prev</a></td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"><a accesskey="n" href="gdk-class-reference.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="gtk-constants"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>gtk Constants</h2><p>gtk Constants &#8212; the built-in constants of the gtk module</p></div><div class="refsect1" lang="en"><a name="id3669490"></a><h2>Synopsis</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting">
<a href="gtk-constants.html#gtk-accel-flags-constants">GTK Accel Flags Constants</a>
<a href="gtk-constants.html#gtk-anchor-type-constants">GTK Anchor Type Constants</a>
<a href="gtk-constants.html#gtk-arrow-type-constants">GTK Arrow Type Constants</a>
<a href="gtk-constants.html#gtk-attach-options-constants">GTK Attach Flag Options Constants</a>
<a href="gtk-constants.html#gtk-buttonbox-style-constants">GTK ButtonBox Style Constants</a>
<a href="gtk-constants.html#gtk-buttons-type-constants">GTK Buttons Type Constants</a>
<a href="gtk-constants.html#gtk-calendar-display-options-constants">GTK Calendar Display Options Constants</a>
<a href="gtk-constants.html#gtk-cellrenderer-mode-constants">GTK CellRenderer Mode Constants</a>
<a href="gtk-constants.html#gtk-cellrenderer-state-constants">GTK CellRenderer State Constants</a>
<a href="gtk-constants.html#gtk-corner-type-constants">GTK Corner Type Constants</a>
<a href="gtk-constants.html#gtk-curve-type-constants">GTK Curve Type Constants</a>
<a href="gtk-constants.html#gtk-debug-flag-constants">GTK Debug Flag Constants</a>
<a href="gtk-constants.html#gtk-delete-type-constants">GTK Delete Type Constants</a>
<a href="gtk-constants.html#gtk-dest-defaults-constants">GTK Dest Defaults Constants</a>
<a href="gtk-constants.html#gtk-dialog-flag-constants">GTK Dialog Flag Constants</a>
<a href="gtk-constants.html#gtk-direction-type-constants">GTK Direction Type Constants</a>
<a href="gtk-constants.html#gtk-expander-style-constants">GTK Expander Style Constants</a>
<a href="gtk-constants.html#gtk-filechooser-action-constants">GTK FileChooser Action Constants</a>
<a href="gtk-constants.html#gtk-filechooser-error-constants">GTK FileChooser Error Constants</a>
<a href="gtk-constants.html#gtk-filefilter-flags-constants">GTK FileFilter Flags Constants</a>
<a href="gtk-constants.html#gtk-icon-lookup-flags-constants">GTK Icon Lookup Flags Constants</a>
<a href="gtk-constants.html#gtk-icon-size-constants">GTK Icon Size Constants</a>
<a href="gtk-constants.html#gtk-icontheme-error-constants">GTK IconTheme Error Constants</a>
<a href="gtk-constants.html#gtk-im-preedit-style-constants">GTK IM Pre-edit Style Constants</a>
<a href="gtk-constants.html#gtk-im-status-style-constants">GTK IM Status Style Constants</a>
<a href="gtk-constants.html#gtk-image-type-constants">GTK Image Type Constants</a>
<a href="gtk-constants.html#gtk-justification-constants">GTK Justification Constants</a>
<a href="gtk-constants.html#gtk-menu-direction-type-constants">GTK Menu Direction Type Constants</a>
<a href="gtk-constants.html#gtk-message-type-constants">GTK Message Type Constants</a>
<a href="gtk-constants.html#gtk-metric-type-constants">GTK Metric Type Constants</a>
<a href="gtk-constants.html#gtk-movement-step-constants">GTK Movement Step Constants</a>
<a href="gtk-constants.html#gtk-notebook-tab-constants">GTK Notebook Tab Constants</a>
<a href="gtk-constants.html#gtk-object-flags-constants">GTK Object Flags Constants</a>
<a href="gtk-constants.html#gtk-orientation-constants">GTK Orientation Constants</a>
<a href="gtk-constants.html#gtk-pack-type-constants">GTK Pack Type Constants</a>
<a href="gtk-constants.html#gtk-path-priority-type-constants">GTK Path Priority Type Constants</a>
<a href="gtk-constants.html#gtk-path-type-constants">GTK Path Type Constants</a>
<a href="gtk-constants.html#gtk-policy-type-constants">GTK Policy Type Constants</a>
<a href="gtk-constants.html#gtk-position-type-constants">GTK Position Type Constants</a>
<a href="gtk-constants.html#gtk-progressbar-orientation-constants">GTK ProgressBar Orientation Constants</a>
<a href="gtk-constants.html#gtk-progressbar-style-constants">GTK ProgressBar Style Constants</a>
<a href="gtk-constants.html#gtk-rc-flags-constants">GTK RC Flags Constants</a>
<a href="gtk-constants.html#gtk-rc-token-type-constants">GTK RC Token Type Constants</a>
<a href="gtk-constants.html#gtk-relief-style-constants">GTK Relief Style Constants</a>
<a href="gtk-constants.html#gtk-resize-mode-constants">GTK Resize Mode Constants</a>
<a href="gtk-constants.html#gtk-response-type-constants">GTK Response Type Constants</a>
<a href="gtk-constants.html#gtk-scroll-step-constants">GTK Scroll Step Constants</a>
<a href="gtk-constants.html#gtk-scroll-type-constants">GTK Scroll Type Constants</a>
<a href="gtk-constants.html#gtk-selection-mode-constants">GTK Selection Mode Constants</a>
<a href="gtk-constants.html#gtk-shadow-type-constants">GTK Shadow Type Constants</a>
<a href="gtk-constants.html#gtk-sizegroup-mode-constants">GTK SizeGroup Mode Constants</a>
<a href="gtk-constants.html#gtk-sort-type">GTK Sort Type Constants</a>
<a href="gtk-constants.html#gtk-spinbutton-update-policy-constants">GTK SpinButton Update Policy Constants</a>
<a href="gtk-constants.html#gtk-spin-type-constants">GTK Spin Type Constants</a>
<a href="gtk-constants.html#gtk-state-type-constants">GTK State Type Constants</a>
<a href="gtk-constants.html#gtk-target-flags-constants">GTK Target Flags Constants</a>
<a href="gtk-constants.html#gtk-text-direction-constants">GTK Text Direction Constants</a>
<a href="gtk-constants.html#gtk-text-search-flags-constants">GTK Text Search Flags Constants Constants</a>
<a href="gtk-constants.html#gtk-text-window-type-constants">GTK Text Window Type Constants</a>
<a href="gtk-constants.html#gtk-toolbar-space-style-constants">GTK Toolbar Space Style Constants</a>
<a href="gtk-constants.html#gtk-toolbar-style-constants">GTK Toolbar Style Constants</a>
<a href="gtk-constants.html#gtk-treemodel-flags-constants">GTK TreeModel Flags Constants</a>
<a href="gtk-constants.html#gtk-treeview-drop-position-constants">GTK TreeView Drop Position Constants</a>
<a href="gtk-constants.html#gtk-treeviewcolumn-sizing-constants">GTK TreeViewColumn Sizing Constants</a>
<a href="gtk-constants.html#gtk-uimanager-item-type-constants">GTK UIManager Item Type Constants</a>
<a href="gtk-constants.html#gtk-update-type-constants">GTK Update Type Constants</a>
<a href="gtk-constants.html#gtk-version-constants">GTK Version Constants</a>
<a href="gtk-constants.html#gtk-widget-flags-constants">GTK Widget Flags  Constants</a>
<a href="gtk-constants.html#gtk-widget-help-type-constants">GTK Widget Help Type Constants</a>
<a href="gtk-constants.html#gtk-window-position-constants">GTK Window Position Constants</a>
<a href="gtk-constants.html#gtk-window-type-constants">GTK Window Type Constants</a>
<a href="gtk-constants.html#gtk-wrap-mode-constants">GTK Wrap Mode Constants</a>
</pre></td></tr></table></div><div class="refsect1" lang="en"><a name="gtk-constants-description"></a><h2>Description</h2><div class="refsect2" lang="en"><a name="gtk-accel-flags-constants"></a><h3>GTK Accel Flags Constants</h3><p>The Accel Flags constants are a set of bit-flags that specify
characteristics of the accelerator.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ACCEL_VISIBLE</tt></span></td><td>if set, the accelerator is visible in a label</td></tr><tr><td><span class="term"><tt class="literal">gtk.ACCEL_LOCKED</tt></span></td><td>If set the accelerator cannot be changed by the
	    user.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ACCEL_MASK</tt></span></td><td>A mask for the Accel Flags</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-anchor-type-constants"></a><h3>GTK Anchor Type Constants</h3><p>The Anchor Type constants specify the anchor point of a
      widget.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_CENTER</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_NORTH</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_NORTH_WEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_NORTH_EAST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_SOUTH</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_SOUTH_WEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_SOUTH_EAST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_WEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_EAST,</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_N</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_NORTH</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_NW</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_NORTH_WEST</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_NE</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_NORTH_EAST</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_S</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_SOUTH</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_SW</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_SOUTH_WEST</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_SE</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_SOUTH_EAST</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_W</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_WEST</tt></td></tr><tr><td><span class="term"><tt class="literal">gtk.ANCHOR_E</tt></span></td><td>Same as <tt class="literal">gtk.ANCHOR_EAST</tt></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-arrow-type-constants"></a><h3>GTK Arrow Type Constants</h3><p>The Arrow Type constants specify the direction a <a href="class-gtkarrow.html" title="gtk.Arrow"><tt class="classname">gtk.Arrow</tt></a> should
point.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ARROW_UP</tt></span></td><td>Represents an upward pointing arrow.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ARROW_DOWN</tt></span></td><td>Represents a downward pointing arrow.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ARROW_LEFT</tt></span></td><td>Represents a left pointing arrow.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ARROW_RIGHT</tt></span></td><td>Represents a right pointing arrow.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-attach-options-constants"></a><h3>GTK Attach Flag Options Constants</h3><p>The Attach Flag Options constants are a set of bit-flags that
specify the expansion properties that a widget will have when it (or its
parent) is resized.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.EXPAND</tt></span></td><td>The widget should expand to take up any extra space in
its container that has been allocated.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SHRINK</tt></span></td><td>The widget should shrink as and when
possible.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILL</tt></span></td><td>The widget should fill the space allocated to
it.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-buttonbox-style-constants"></a><h3>GTK ButtonBox Style Constants</h3><p>The ButtonBox Style constants specify the style that a <a href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><tt class="classname">gtk.ButtonBox</tt></a>
uses to layout the buttons it contains. (See also: <a href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><tt class="classname">gtk.VButtonBox</tt></a>
and <a href="class-gtkhbuttonbox.html" title="gtk.HButtonBox"><tt class="classname">gtk.HButtonBox</tt></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.BUTTONBOX_DEFAULT_STYLE</tt></span></td><td>Default packing.</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONBOX_SPREAD</tt></span></td><td>Buttons are evenly spread across the ButtonBox.</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONBOX_EDGE</tt></span></td><td>Buttons are placed at the edges of the
	    ButtonBox.</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONBOX_START</tt></span></td><td>Buttons are grouped toward the start of box, (on the
	    left for a HBox, or the top for a VBox).</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONBOX_END</tt></span></td><td>Buttons are grouped toward the end of a box, (on the
	    right for a HBox, or the bottom for a VBox).</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-buttons-type-constants"></a><h3>GTK Buttons Type Constants</h3><p>The Buttons Type constants specify the pre-defined sets of
buttons for the dialog. If none of these choices are appropriate, simply use
<tt class="literal">gtk.BUTTONS_NONE</tt> then call the <a href="class-gtkdialog.html#method-gtkdialog--add-buttons" title="gtk.Dialog.add_buttons"><tt class="methodname">add_buttons</tt>()</a>
method.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_NONE</tt></span></td><td>no buttons at all</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_OK</tt></span></td><td>an OK button</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_CLOSE</tt></span></td><td>a Close button</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_CANCEL</tt></span></td><td>a Cancel button</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_YES_NO</tt></span></td><td>Yes and No buttons</td></tr><tr><td><span class="term"><tt class="literal">gtk.BUTTONS_OK_CANCEL</tt></span></td><td>OK and Cancel buttons</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-calendar-display-options-constants"></a><h3>GTK Calendar Display Options Constants</h3><p>The Calendar Display Options constants are a set of bit-flags
that specify the display and behavior of a <a href="class-gtkcalendar.html" title="gtk.Calendar"><tt class="classname">gtk.Calendar</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.CALENDAR_SHOW_HEADING</tt></span></td><td>Specifies that the month and year should be
	    displayed.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CALENDAR_SHOW_DAY_NAMES</tt></span></td><td>Specifies that three letter day descriptions should be
	    present.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CALENDAR_NO_MONTH_CHANGE</tt></span></td><td>Prevents the user from switching months with the
	    calendar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CALENDAR_SHOW_WEEK_NUMBERS</tt></span></td><td>Displays each week numbers of the current year, down
	    the left side of the calendar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CALENDAR_WEEK_START_MONDAY</tt></span></td><td>Since GTK+ 2.4, this option is deprecated and ignored
	    by GTK+. The information on which day the calendar week starts
	    is derived from the locale.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-cellrenderer-mode-constants"></a><h3>GTK CellRenderer Mode Constants</h3><p>The CellRenderer Mode constants specify how the user can
interact with a particular cell.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_MODE_INERT</tt></span></td><td>The cell is just for display and cannot be interacted
with. Note that this doesn't mean that e.g. the row being drawn can't be
selected -- just that a particular element of it cannot be individually
modified.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_MODE_ACTIVATABLE</tt></span></td><td>The cell can be clicked.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_MODE_EDITABLE</tt></span></td><td>The cell can be edited or otherwise modified.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-cellrenderer-state-constants"></a><h3>GTK CellRenderer State Constants</h3><p>The CellRenderer State constants specify how a cell is to be
rendered.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_SELECTED</tt></span></td><td>The cell is currently selected, and probably has a
	    selection colored background to render to.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_PRELIT</tt></span></td><td>The mouse is hovering over the cell.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_INSENSITIVE</tt></span></td><td>The cell is drawn in an insensitive manner</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_SORTED</tt></span></td><td>The cell is in a sorted row</td></tr><tr><td><span class="term"><tt class="literal">gtk.CELL_RENDERER_FOCUSED</tt></span></td><td>The cell has the focus.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-corner-type-constants"></a><h3>GTK Corner Type Constants</h3><p>The Corner Type constants specify the corner a child widget
should be placed in when packed into a <a href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow"><tt class="classname">gtk.ScrolledWindow</tt></a>. This
is effectively the opposite of where the scroll bars are placed.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.CORNER_TOP_LEFT</tt></span></td><td>Place the scrollbars on the right and bottom of the
widget (default behavior).</td></tr><tr><td><span class="term"><tt class="literal">gtk.CORNER_BOTTOM_LEFT</tt></span></td><td>Place the scrollbars on the top and right of the
widget.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CORNER_TOP_RIGHT</tt></span></td><td>Place the scrollbars on the left and bottom of the
widget.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CORNER_BOTTOM_RIGHT</tt></span></td><td>Place the scrollbars on the top and left of the
widget.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-curve-type-constants"></a><h3>GTK Curve Type Constants</h3><p>The Curve Type constants specify the type of curve to use for a
<a href="class-gtkcurve.html" title="gtk.Curve"><tt class="classname">gtk.Curve</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.CURVE_TYPE_LINEAR</tt></span></td><td>Linear interpolation</td></tr><tr><td><span class="term"><tt class="literal">gtk.CURVE_TYPE_SPLINE</tt></span></td><td>Spline interpolation</td></tr><tr><td><span class="term"><tt class="literal">gtk.CURVE_TYPE_FREE</tt></span></td><td>Free form curve</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-debug-flag-constants"></a><h3>GTK Debug Flag Constants</h3><p>The Debug Flag constants are a set of bit-flags that specify the
debug options.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.DEBUG_MISC</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_PLUGSOCKET</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_TEXT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_TREE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_UPDATES</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_KEYBINDINGS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.DEBUG_MULTIHEAD</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-delete-type-constants"></a><h3>GTK Delete Type Constants</h3><p>The Delete Type constants specify the deletion type.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.DELETE_CHARS</tt></span></td><td>Delete a character at the cursor</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_WORD_ENDS</tt></span></td><td>Delete from the cursor to the end of a word</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_WORDS</tt></span></td><td>Delete a number of words</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_DISPLAY_LINES</tt></span></td><td>Delete a single line at the cursor</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_DISPLAY_LINE_ENDS,</tt></span></td><td>Delete from the cursor to the end of the line.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_PARAGRAPH_ENDS</tt></span></td><td>Delete from the cursor to a paragraph end (usually to
	    the period)</td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_PARAGRAPHS</tt></span></td><td>Delete several complete paragraphs at the cursor </td></tr><tr><td><span class="term"><tt class="literal">gtk.DELETE_WHITESPACE</tt></span></td><td>Delete the whitespace at the cursor.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-dest-defaults-constants"></a><h3>GTK Dest Defaults Constants</h3><p>The Dest Defaults constants are a set of bit-flags that specify
the various types of action that will be taken on behalf of the user for a
drag destination site.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.DEST_DEFAULT_MOTION</tt></span></td><td>If set for a widget, during a drag over this widget
will check if the drag matches this widget's list of possible targets and
actions. The <a href="class-gdkdragcontext.html#method-gdkdragcontext--drag-status" title="gtk.gdk.DragContext.drag_status"><tt class="methodname">gtk.gdk.DragContext.drag_status</tt>()</a>
method will be called as appropriate.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DEST_DEFAULT_HIGHLIGHT</tt></span></td><td> If set for a widget, draw a highlight on this widget
as long as a drag is over this widget and the widget drag format and action
are acceptable.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DEST_DEFAULT_DROP</tt></span></td><td>If set for a widget, when a drop occurs, check if the
drag matches this widget's list of possible targets and actions. If so, call
the <a href="class-gtkwidget.html#method-gtkwidget--drag-get-data" title="gtk.Widget.drag_get_data"><tt class="methodname">gtk.Widget.drag_get_data</tt>()</a>
method on behalf of the widget. Whether or not the drop is successful, call
the <a href="class-gdkdragcontext.html#method-gdkdragcontext--finish" title="gtk.gdk.DragContext.finish"><tt class="methodname">gtk.gdk.DragContext.finish</tt>()</a>
method. If the action was a move, then if the drag was successful, then
<tt class="literal">TRUE</tt> will be passed for the delete parameter to the <a href="class-gdkdragcontext.html#method-gdkdragcontext--finish" title="gtk.gdk.DragContext.finish"><tt class="methodname">gtk.gdk.DragContext.finish</tt>()</a>
method.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DEST_DEFAULT_ALL</tt></span></td><td>If set, specifies that all default actions should be
taken.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-dialog-flag-constants"></a><h3>GTK Dialog Flag Constants</h3><p>The Dialog Flag constants are a set of bit-flags that specify 
characteristics of a dialog.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.DIALOG_MODAL</tt></span></td><td>If set, the dialog grabs all keyboard
	  events</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIALOG_DESTROY_WITH_PARENT</tt></span></td><td>If set, the dialog is destroyed when its parent
	    is.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIALOG_NO_SEPARATOR</tt></span></td><td>If set, there is no separator bar above the
	    buttons.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-direction-type-constants"></a><h3>GTK Direction Type Constants</h3><p>The Direction Type constants specify a direction for moving a
cursor or focus.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.DIR_TAB_FORWARD</tt></span></td><td>Tab forward.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIR_TAB_BACKWARD</tt></span></td><td>Tab backward.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIR_UP</tt></span></td><td>Up.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIR_DOWN</tt></span></td><td>Down.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIR_LEFT</tt></span></td><td>Left.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DIR_RIGHT</tt></span></td><td>Right.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-expander-style-constants"></a><h3>GTK Expander Style Constants</h3><p>The Expander Style constants specify the style of the expanders
drawn by a <a href="class-gtktreeview.html" title="gtk.TreeView"><tt class="classname">gtk.TreeView</tt></a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.EXPANDER_COLLAPSED</tt></span></td><td>The style used for a collapsed subtree.</td></tr><tr><td><span class="term"><tt class="literal">gtk.EXPANDER_SEMI_COLLAPSED</tt></span></td><td>Intermediate style used during animation.</td></tr><tr><td><span class="term"><tt class="literal">gtk.EXPANDER_SEMI_EXPANDED</tt></span></td><td>Intermediate style used during animation.</td></tr><tr><td><span class="term"><tt class="literal">gtk.EXPANDER_EXPANDED</tt></span></td><td>The style used for an expanded subtree.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-filechooser-action-constants"></a><h3>GTK FileChooser Action Constants</h3><p>The FileChooser Action constants specify the mode of a <a href="class-gtkfilechooser.html" title="gtk.FileChooser"><tt class="classname">gtk.FileChooser</tt></a>
i.e. whether it is being used to open existing files or to save to a
possibly new file.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ACTION_OPEN</tt></span></td><td>Indicates open mode. The file chooser will only let the
	    user pick an existing file.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ACTION_SAVE</tt></span></td><td>Indicates save mode. The file chooser will let the user
	    pick an existing file, or type in a new filename.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER</tt></span></td><td>Indicates an Open mode for selecting folders. The file
	    chooser will let the user pick an existing folder.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER</tt></span></td><td>Indicates a mode for creating a new folder. The file
	    chooser will let the user name an existing or new
	    folder.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-filechooser-error-constants"></a><h3>GTK FileChooser Error Constants</h3><p>The FileChooser Error constants specify the various errors that
can occur while calling <a href="class-gtkfilechooser.html" title="gtk.FileChooser"><tt class="classname">gtk.FileChooser</tt></a>
functions.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ERROR_NONEXISTENT</tt></span></td><td>Indicates that a file does not exist.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_CHOOSER_ERROR_BAD_FILENAME</tt></span></td><td>Indicates a malformed filename.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-filefilter-flags-constants"></a><h3>GTK FileFilter Flags Constants</h3><p>The FileFilter Flags constants are a set of bit-flags that
specify the file types to filter the files against.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.FILE_FILTER_FILENAME</tt></span></td><td>The full pathname of the file e.g. /tmp/junk.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_FILTER_URI</tt></span></td><td>The full URI of the file
	    e.g. file:///tmp/junk.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_FILTER_DISPLAY_NAME</tt></span></td><td>The simple name of the file e.g. junk.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FILE_FILTER_MIME_TYPE</tt></span></td><td>The MIME type of the file e.g. text/html.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-icon-lookup-flags-constants"></a><h3>GTK Icon Lookup Flags Constants</h3><p>The Icon Lookup Flags constants are a set of bit-flags that
specify options for the <a href="class-gtkicontheme.html#method-gtkicontheme--lookup-icon" title="gtk.IconTheme.lookup_icon"><tt class="methodname">gtk.IconTheme.lookup_icon</tt>()</a>
method</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ICON_LOOKUP_NO_SVG</tt></span></td><td> Never return SVG (Scalable Vector Graphics) icons,
even if gdk-pixbuf supports them. Cannot be used together with
<tt class="literal">gtk.ICON_LOOKUP_FORCE_SVG</tt>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_LOOKUP_FORCE_SVG</tt></span></td><td>Return SVG icons, even if gdk-pixbuf doesn't support
them. Cannot be used together with
<tt class="literal">gtk.ICON_LOOKUP_NO_SVG</tt>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_LOOKUP_USE_BUILTIN</tt></span></td><td>When passed to the <a href="class-gtkicontheme.html#method-gtkicontheme--lookup-icon" title="gtk.IconTheme.lookup_icon"><tt class="methodname">gtk.IconTheme.lookup_icon</tt>()</a>
method includes builtin icons as well as files. For a builtin icon, the
<a href="class-gtkiconinfo.html#method-gtkiconinfo--get-filename" title="gtk.IconInfo.get_filename"><tt class="methodname">gtk.IconInfo.get_filename</tt>()</a>
method returns <tt class="literal">None</tt> and you need to call the <a href="class-gtkiconinfo.html#method-gtkiconinfo--get-builtin-pixbuf" title="gtk.IconInfo.get_builtin_pixbuf"><tt class="methodname">gtk.IconInfo.get_builtin_pixbuf</tt>()</a>
method.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-icon-size-constants"></a><h3>GTK Icon Size Constants</h3><p>The Icon Size constants specify the pre-defined sizes of icons
for various application uses.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_INVALID</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_MENU</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_SMALL_TOOLBAR</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_LARGE_TOOLBAR</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_BUTTON</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_DND</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_SIZE_DIALOG</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-icontheme-error-constants"></a><h3>GTK IconTheme Error Constants</h3><p>The IconTheme Error constants specify error codes for <a href="class-gtkicontheme.html" title="gtk.IconTheme"><tt class="classname">gtk.IconTheme</tt></a>
operations.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ICON_THEME_NOT_FOUND</tt></span></td><td>The icon specified does not exist in the
	    theme</td></tr><tr><td><span class="term"><tt class="literal">gtk.ICON_THEME_FAILED</tt></span></td><td>An unspecified error occurred.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-im-preedit-style-constants"></a><h3>GTK IM Pre-edit Style Constants</h3><p>The IM Pre-edit Style constants specify the style of input method
pre-edit display.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.IM_PREEDIT_NOTHING</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.IM_PREEDIT_CALLBACK</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.IM_PREEDIT_NONE</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-im-status-style-constants"></a><h3>GTK IM Status Style Constants</h3><p>The IM Status Style constants specify the style of input method
display.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.IM_STATUS_NOTHING</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.IM_STATUS_CALLBACK</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.IM_STATUS_NONE</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-image-type-constants"></a><h3>GTK Image Type Constants</h3><p>The Image Type constants specify the type of image in a <a href="class-gtkimage.html" title="gtk.Image"><tt class="classname">gtk.Image</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.IMAGE_EMPTY</tt></span></td><td>There is no image displayed by the widget</td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_PIXMAP</tt></span></td><td>The widget contains a <a href="class-gdkpixmap.html" title="gtk.gdk.Pixmap"><tt class="classname">gtk.gdk.Pixmap</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_IMAGE</tt></span></td><td>The widget contains a <a href="class-gdkimage.html" title="gtk.gdk.Image"><tt class="classname">gtk.gdk.Image</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_PIXBUF</tt></span></td><td>The widget contains a <a href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><tt class="classname">gtk.gdk.Pixbuf</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_STOCK</tt></span></td><td>The widget contains a stock icon name (see the <a href="gtk-stock-items.html" title="Stock Items">Stock Items</a> reference)</td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_ICON_SET</tt></span></td><td>The widget contains a <a href="class-gtkiconset.html" title="gtk.IconSet"><tt class="classname">gtk.IconSet</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.IMAGE_ANIMATION</tt></span></td><td>The widget contains a <a href="class-gdkpixbufanimation.html" title="gtk.gdk.PixbufAnimation"><tt class="classname">gtk.gdk.PixbufAnimation</tt></a></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-justification-constants"></a><h3>GTK Justification Constants</h3><p>The Justification constants specify the justification of the
text inside a <a href="class-gtklabel.html" title="gtk.Label"><tt class="classname">gtk.Label</tt></a>
widget. (See also <a href="class-gtkalignment.html" title="gtk.Alignment"><tt class="classname">gtk.Alignment</tt></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.JUSTIFY_LEFT</tt></span></td><td>The text is placed at the left edge of the
	    label.</td></tr><tr><td><span class="term"><tt class="literal">gtk.JUSTIFY_RIGHT</tt></span></td><td>The text is placed at the right edge of the
	    label.</td></tr><tr><td><span class="term"><tt class="literal">gtk.JUSTIFY_CENTER</tt></span></td><td>The text is placed in the center of the
	    label.</td></tr><tr><td><span class="term"><tt class="literal">gtk.JUSTIFY_FILL</tt></span></td><td>The text is placed is distributed across the
	    label.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-menu-direction-type-constants"></a><h3>GTK Menu Direction Type Constants</h3><p>The Menu Direction Type constants specify directional movements
within a menu.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.MENU_DIR_PARENT</tt></span></td><td>To the parent menu shell.</td></tr><tr><td><span class="term"><tt class="literal">gtk.MENU_DIR_CHILD</tt></span></td><td>To the submenu, if any, associated with the item.</td></tr><tr><td><span class="term"><tt class="literal">gtk.MENU_DIR_NEXT</tt></span></td><td>To the next menu item.</td></tr><tr><td><span class="term"><tt class="literal">gtk.MENU_DIR_PREV</tt></span></td><td>To the previous menu item.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-message-type-constants"></a><h3>GTK Message Type Constants</h3><p>The Message Type constants specify the type of message being
displayed in the message dialog.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.MESSAGE_INFO</tt></span></td><td>Informational message</td></tr><tr><td><span class="term"><tt class="literal">gtk.MESSAGE_WARNING</tt></span></td><td>Nonfatal warning message</td></tr><tr><td><span class="term"><tt class="literal">gtk.MESSAGE_QUESTION</tt></span></td><td>Question requiring a choice</td></tr><tr><td><span class="term"><tt class="literal">gtk.MESSAGE_ERROR</tt></span></td><td>Fatal error message</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-metric-type-constants"></a><h3>GTK Metric Type Constants</h3><p>The Metric Type constants specify the metric used by a <a href="class-gtkruler.html" title="gtk.Ruler"><tt class="classname">gtk.Ruler</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PIXELS</tt></span></td><td>Pixels.</td></tr><tr><td><span class="term"><tt class="literal">gtk.INCHES</tt></span></td><td>Inches.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CENTIMETERS</tt></span></td><td>Centimeters.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-movement-step-constants"></a><h3>GTK Movement Step Constants</h3><p>The Movement Step constants specify the steps used in movement
through text.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_LOGICAL_POSITIONS</tt></span></td><td>move by graphemes</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_VISUAL_POSITIONS</tt></span></td><td>move by graphemes</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_WORDS</tt></span></td><td>move by words</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_DISPLAY_LINES</tt></span></td><td>move by lines(wrapped lines)</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_DISPLAY_LINE_ENDS</tt></span></td><td>move to line ends(wrapped lines)</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_PARAGRAPHS</tt></span></td><td>move by paragraphs(newline-ended lines)</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_PARAGRAPH_ENDS</tt></span></td><td>move to ends of a paragraph</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_PAGES</tt></span></td><td>move by pages</td></tr><tr><td><span class="term"><tt class="literal">gtk.MOVEMENT_BUFFER_ENDS</tt></span></td><td>move to ends of the buffer</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-notebook-tab-constants"></a><h3>GTK Notebook Tab Constants</h3><p>The Notebook Tab constants specify the tab position to receive
focus.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.NOTEBOOK_TAB_FIRST</tt></span></td><td>The first <a href="class-gtknotebook.html" title="gtk.Notebook"><tt class="classname">gtk.Notebook</tt></a>
tab</td></tr><tr><td><span class="term"><tt class="literal">gtk.NOTEBOOK_TAB_LAST</tt></span></td><td>The last <a href="class-gtknotebook.html" title="gtk.Notebook"><tt class="classname">gtk.Notebook</tt></a>
tab</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-object-flags-constants"></a><h3>GTK Object Flags Constants</h3><p>The Object Flags constants are a set of bit-flags that specify
the state of the <a href="class-gtkobject.html" title="gtk.Object"><tt class="classname">gtk.Object</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.IN_DESTRUCTION</tt></span></td><td>The object is currently being destroyed. This is used
	    internally to prevent reinvocations during
	    destruction.</td></tr><tr><td><span class="term"><tt class="literal">gtk.FLOATING</tt></span></td><td>The object is orphaned.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-orientation-constants"></a><h3>GTK Orientation Constants</h3><p>The Orientation constants specify the orientation of widgets
which can be switched between horizontal and vertical orientation on the
fly, like <a href="class-gtktoolbar.html" title="gtk.Toolbar"><tt class="classname">gtk.Toolbar</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.ORIENTATION_HORIZONTAL</tt></span></td><td>The widget is in horizontal orientation.</td></tr><tr><td><span class="term"><tt class="literal">gtk.ORIENTATION_VERTICAL</tt></span></td><td>The widget is in vertical orientation. </td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-pack-type-constants"></a><h3>GTK Pack Type Constants</h3><p>The Pack Type constants specify the packing location <a href="class-gtkbox.html" title="gtk.Box"><tt class="classname">gtk.Box</tt></a> children. (See:
<a href="class-gtkvbox.html" title="gtk.VBox"><tt class="classname">gtk.VBox</tt></a>, <a href="class-gtkhbox.html" title="gtk.HBox"><tt class="classname">gtk.HBox</tt></a>, and <a href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><tt class="classname">gtk.ButtonBox</tt></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PACK_START</tt></span></td><td>The child is packed into the start of the box
	    </td></tr><tr><td><span class="term"><tt class="literal">gtk.PACK_END</tt></span></td><td>The child is packed into the end of the box</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-path-priority-type-constants"></a><h3>GTK Path Priority Type Constants</h3><p>The Path Priority Type constants are a set of bit-flags that
specify the priority of path lookup.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_LOWEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_GTK</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_APPLICATION</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_THEME</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_RC</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_PRIO_HIGHEST</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-path-type-constants"></a><h3>GTK Path Type Constants</h3><p>The Path Type constants specify </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PATH_WIDGET</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_WIDGET_CLASS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.PATH_CLASS</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-policy-type-constants"></a><h3>GTK Policy Type Constants</h3><p>The Policy Type constants specify when a scroll bar will be
visible.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term">gtk.POLICY_ALWAYS</span></td><td>the scrollbar is always present</td></tr><tr><td><span class="term">gtk.POLICY_AUTOMATIC</span></td><td>the scrollbar is present only if needed i.e. the
contents are larger than the window</td></tr><tr><td><span class="term">gtk.POLICY_NEVER</span></td><td>the scrollbar is never present</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-position-type-constants"></a><h3>GTK Position Type Constants</h3><p>The Position Type constants specify </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.POS_LEFT</tt></span></td><td>The feature is at the left edge.</td></tr><tr><td><span class="term"><tt class="literal">gtk.POS_RIGHT</tt></span></td><td>The feature is at the right edge.</td></tr><tr><td><span class="term"><tt class="literal">gtk.POS_TOP</tt></span></td><td>The feature is at the top edge.</td></tr><tr><td><span class="term"><tt class="literal">gtk.POS_BOTTOM</tt></span></td><td>The feature is at the bottom edge</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-progressbar-orientation-constants"></a><h3>GTK ProgressBar Orientation Constants</h3><p>The ProgressBar Orientation constants specify the orientation
and growth direction for a visible progress bar.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_LEFT_TO_RIGHT</tt></span></td><td>A horizontal progress bar growing from left to
right.</td></tr><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_RIGHT_TO_LEFT</tt></span></td><td>A horizontal progress bar growing from right to
left.</td></tr><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_BOTTOM_TO_TOP</tt></span></td><td>A vertical progress bar growing from bottom to
top.</td></tr><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_TOP_TO_BOTTOM</tt></span></td><td>A vertical progress bar growing from top to
bottom.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-progressbar-style-constants"></a><h3>GTK ProgressBar Style Constants</h3><p>The ProgressBar Style constants specify the style of the <a href="class-gtkprogressbar.html" title="gtk.ProgressBar"><tt class="classname">gtk.ProgressBar</tt></a>
display.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_CONTINUOUS</tt></span></td><td>The progress bar grows in a smooth, continuous
	    manner.</td></tr><tr><td><span class="term"><tt class="literal">gtk.PROGRESS_DISCRETE</tt></span></td><td>The progress bar grows in discrete, visible
	    blocks.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-rc-flags-constants"></a><h3>GTK RC Flags Constants</h3><p>The&gt;RC Flags constants are a set of bit-flags that specify which
fields of a <a href="class-gtkrcstyle.html" title="gtk.RcStyle"><tt class="classname">gtk.RcStyle</tt></a> have
been set for each state.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.RC_FG</tt></span></td><td>If present, the foreground color has been set for this
	    state.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_BG</tt></span></td><td>If present, the background color has been set for this
	    state.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TEXT</tt></span></td><td>If present, the text color has been set for this
	    state.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_BASE</tt></span></td><td>If present, the base color has been set for this
	    state.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-rc-token-type-constants"></a><h3>GTK RC Token Type Constants</h3><p>The RC Token Type constants specify the tokens in the RC
file. It is exposed so that theme engines can reuse these tokens when
parsing the theme-engine specific portions of a RC file.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_INVALID</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_INCLUDE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_NORMAL</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_ACTIVE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_PRELIGHT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_SELECTED</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_INSENSITIVE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_FG</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_BG</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_TEXT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_BASE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_XTHICKNESS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_YTHICKNESS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_FONT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_FONTSET</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_FONT_NAME</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_BG_PIXMAP</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_PIXMAP_PATH</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_STYLE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_BINDING</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_BIND</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_WIDGET</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_WIDGET_CLASS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_CLASS</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_LOWEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_GTK</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_APPLICATION</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_THEME</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_RC</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_HIGHEST</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_ENGINE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_MODULE_PATH</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_IM_MODULE_PATH</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_IM_MODULE_FILE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_STOCK</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_LTR</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_RTL</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_TOKEN_LAST</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-relief-style-constants"></a><h3>GTK Relief Style Constants</h3><p>The Relief Style constants specify </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.RELIEF_NORMAL</tt></span></td><td>Draw a normal relief.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RELIEF_HALF</tt></span></td><td>Draw a half relief.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RELIEF_NONE</tt></span></td><td>Draw no relief.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-resize-mode-constants"></a><h3>GTK Resize Mode Constants</h3><p>The Resize Mode constants specify how resize requests are
handled by a widget.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.RESIZE_PARENT</tt></span></td><td>Pass resize request to the parent</td></tr><tr><td><span class="term"><tt class="literal">gtk.RESIZE_QUEUE</tt></span></td><td>Queue resizes on this widget</td></tr><tr><td><span class="term"><tt class="literal">gtk.RESIZE_IMMEDIATE</tt></span></td><td>Perform the resizes now</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-response-type-constants"></a><h3>GTK Response Type Constants</h3><p>The Response Type constants specify pre-defined response
      values.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td></td><td><tt class="literal">gtk.RESPONSE_NONE</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_REJECT</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_ACCEPT</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_DELETE_EVENT</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_OK</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_CANCEL</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_CLOSE</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_YES</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_NO</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_APPLY</tt></td></tr><tr><td></td><td><tt class="literal">gtk.RESPONSE_HELP</tt></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-scroll-step-constants"></a><h3>GTK Scroll Step Constants</h3><p>The Scroll Step constants specify the size of the scroll
movements.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEPS</tt></span></td><td>Scroll up or down in step increments</td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGES,</tt></span></td><td>Scroll up or down in page increments</td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_ENDS</tt></span></td><td>Scroll to the beginning or end</td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_HORIZONTAL_STEPS</tt></span></td><td>Scroll left or right in step increments</td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_HORIZONTAL_PAGES</tt></span></td><td>Scroll left or right in step increments</td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_HORIZONTAL_ENDS</tt></span></td><td>Scroll to the far left end or far right end.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-scroll-type-constants"></a><h3>GTK Scroll Type Constants</h3><p>The Scroll Type constants specify the type of scroll
      \movement.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SCROLL_NONE</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_JUMP</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_BACKWARD</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_FORWARD</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_BACKWARD</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_FORWARD</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_UP</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_DOWN</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_UP</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_DOWN</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_LEFT,</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_STEP_RIGHT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_LEFT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_PAGE_RIGHT</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_START</tt></span></td><td></td></tr><tr><td><span class="term"><tt class="literal">gtk.SCROLL_END</tt></span></td><td></td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-selection-mode-constants"></a><h3>GTK Selection Mode Constants</h3><p>The Selection Mode constants specify the mode of selection in a
<a href="class-gtktreeview.html" title="gtk.TreeView"><tt class="classname">gtk.Treeview</tt></a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SELECTION_NONE</tt></span></td><td>No selection allowed.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SELECTION_SINGLE</tt></span></td><td>A single selection allowed by clicking.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SELECTION_BROWSE</tt></span></td><td>A single selection allowed by browsing with the
pointer.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SELECTION_MULTIPLE</tt></span></td><td>Multiple items can be selected at once.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SELECTION_EXTENDED</tt></span></td><td>Deprecated.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-shadow-type-constants"></a><h3>GTK Shadow Type Constants</h3><p>The Shadow Type constants specify the appearance of an outline
typically provided by a <a href="class-gtkframe.html" title="gtk.Frame"><tt class="classname">gtk.Frame</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SHADOW_NONE</tt></span></td><td>No outline.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SHADOW_IN</tt></span></td><td>The outline is beveled inward.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SHADOW_OUT</tt></span></td><td>The outline is beveled outward like a button.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SHADOW_ETCHED_IN</tt></span></td><td>The outline itself is an inward bevel, but the frame
	    bevels outward</td></tr><tr><td><span class="term"><tt class="literal">gtk.SHADOW_ETCHED_OUT</tt></span></td><td>The outline itself is an outward bevel, but the frame
	    bevels inward</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-sizegroup-mode-constants"></a><h3>GTK SizeGroup Mode Constants</h3><p>The SizeGroup Mode constants specify the directions in which the
size group affects the requested sizes of its component widgets.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SIZE_GROUP_NONE</tt></span></td><td>The group has no affect</td></tr><tr><td><span class="term"><tt class="literal">gtk.SIZE_GROUP_HORIZONTAL</tt></span></td><td>The group affects horizontal requisition</td></tr><tr><td><span class="term"><tt class="literal">gtk.SIZE_GROUP_VERTICAL</tt></span></td><td>The group affects vertical requisition</td></tr><tr><td><span class="term"><tt class="literal">gtk.SIZE_GROUP_BOTH</tt></span></td><td>The group affects both horizontal and vertical
	    requisition</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-sort-type"></a><h3>GTK Sort Type Constants</h3><p>The Sort Type constants specify he direction of a sort.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SORT_ASCENDING</tt></span></td><td>Sorting is in ascending order.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SORT_DESCENDING</tt></span></td><td>Sorting is in descending order.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-spinbutton-update-policy-constants"></a><h3>GTK SpinButton Update Policy Constants</h3><p>The SpinButton Update Policy constants specify the update policy
for a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.UPDATE_ALWAYS</tt></span></td><td>When refreshing a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>,
the value is always displayed.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UPDATE_IF_VALID</tt></span></td><td>When refreshing a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>,
the value is only displayed if it is valid within the bounds of the spin
button's <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a>.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-spin-type-constants"></a><h3>GTK Spin Type Constants</h3><p>The Spin Type constants specify the step movement of a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.SPIN_STEP_FORWARD</tt></span></td><td>Spin a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>
forward by the step value of the spin button's <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_STEP_BACKWARD</tt></span></td><td>Spin a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>
backward by the step value of the spin button's <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_PAGE_FORWARD</tt></span></td><td>Spin a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>
forward by the page value of the spin button's <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_PAGE_BACKWARD</tt></span></td><td>Spin a <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>
backward by the page value of the spin button's <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_HOME</tt></span></td><td>Set the spin button's value to the minimum possible
value specified by its <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_END</tt></span></td><td>Set the spin button's value to the maximum possible
value specified by its <a href="class-gtkadjustment.html" title="gtk.Adjustment"><tt class="classname">gtk.Adjustment</tt></a></td></tr><tr><td><span class="term"><tt class="literal">gtk.SPIN_USER_DEFINED</tt></span></td><td>The programmer must specify the exact amount to spin
the <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-state-type-constants"></a><h3>GTK State Type Constants</h3><p>The State Type constants specify the current state of a widget;
the state determines how the widget is drawn. The State Type constants are
also used to identify different colors in a <a href="class-gtkstyle.html" title="gtk.Style"><tt class="classname">gtk.Style</tt></a> for
drawing, so states can be used for subparts of a widget as well as entire
widgets.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.STATE_NORMAL</tt></span></td><td>State during normal operation.</td></tr><tr><td><span class="term"><tt class="literal">gtk.STATE_ACTIVE</tt></span></td><td>State of a currently active widget, such as a depressed
	    button.</td></tr><tr><td><span class="term"><tt class="literal">gtk.STATE_PRELIGHT</tt></span></td><td>State indicating that the mouse pointer is over the
	    widget and the widget will respond to mouse clicks.</td></tr><tr><td><span class="term"><tt class="literal">gtk.STATE_SELECTED</tt></span></td><td>State of a selected item, such the selected row in a
	    list.</td></tr><tr><td><span class="term"><tt class="literal">gtk.STATE_INSENSITIVE</tt></span></td><td>State indicating that the widget is unresponsive to
	    user actions.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-target-flags-constants"></a><h3>GTK Target Flags Constants</h3><p>The Target Flags constants are a set of bit-flags that specify
constraints on the target of a drag operation.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TARGET_SAME_APP</tt></span></td><td> If this is set, the target will only be selected for
drags within a single application.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TARGET_SAME_WIDGET</tt></span></td><td>f this is set, the target will only be selected for
drags within a single widget.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-text-direction-constants"></a><h3>GTK Text Direction Constants</h3><p>The Text Direction constants specify the direction of the
text.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TEXT_DIR_NONE</tt></span></td><td>Text direction not specified.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_DIR_LTR,</tt></span></td><td>Left to right direction.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_DIR_RTL</tt></span></td><td>Right to left direction</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-text-search-flags-constants"></a><h3>GTK Text Search Flags Constants Constants</h3><p>The Text Search Flags constants are a set of bit-flags that specify what types of text are
suitable for search matches in a <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TEXT_SEARCH_VISIBLE_ONLY</tt></span></td><td>Only visible text can match the search
	    criteria.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_SEARCH_TEXT_ONLY</tt></span></td><td>Both visible and invisible text can match the search
	    criteria.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-text-window-type-constants"></a><h3>GTK Text Window Type Constants</h3><p>The Text Window Type constants specify the <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a>
objects that make up a <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>. See
the <a href="class-gtktextview.html#method-gtktextview--get-window" title="gtk.TextView.get_window"><tt class="methodname">gtk.TextView.get_window</tt>()</a>
method for more detail.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_WIDGET</tt></span></td><td>The <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> of
the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>
widget.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_TEXT</tt></span></td><td>The <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> that
contains the text in the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_LEFT</tt></span></td><td>The left child <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> of
the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_RIGHT</tt></span></td><td>The right child <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> of
the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_TOP</tt></span></td><td>The top child <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> of
the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TEXT_WINDOW_BOTTOM</tt></span></td><td>The bottom child <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a> of
the <a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-toolbar-space-style-constants"></a><h3>GTK Toolbar Space Style Constants</h3><p>The Toolbar Space Style constants specify whether a spacer is
displayed as a vertical line or space.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_SPACE_EMPTY,</tt></span></td><td>Show as an empty space</td></tr><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_SPACE_LINE</tt></span></td><td>Show as a vertical line.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-toolbar-style-constants"></a><h3>GTK Toolbar Style Constants</h3><p>The Toolbar Style constants specify the appearance of a <a href="class-gtktoolbar.html" title="gtk.Toolbar"><tt class="classname">gtk.Toolbar</tt></a>. Note
that setting the toolbar style overrides the user's preferences for the
default toolbar style.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_ICONS</tt></span></td><td>Buttons display only icons in the toolbar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_TEXT</tt></span></td><td>Buttons display only text labels in the
	    toolbar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_BOTH</tt></span></td><td>Buttons display text and icons in the
	    toolbar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TOOLBAR_BOTH_HORIZ</tt></span></td><td>Buttons display icons and text alongside each other,
	    rather than vertically stacked</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-treemodel-flags-constants"></a><h3>GTK TreeModel Flags Constants</h3><p>The TreeModel Flags constants are a set of bit-flags that
specify various properties of a <a href="class-gtktreemodel.html" title="gtk.TreeModel"><tt class="classname">gtk.TreeModel</tt></a>. They
are returned by the <a href="class-gtktreemodel.html#method-gtktreemodel--get-flags" title="gtk.TreeModel.get_flags"><tt class="methodname">gtk.TreeModel.get_flags</tt>()</a>
method, and must be static for the lifetime of the object. A more complete
description of <tt class="literal">gtk.TREE_MODEL_ITERS_PERSIST</tt> can be found
in the <a href="class-gtktreeview.html" title="gtk.TreeView"><tt class="classname">gtk.TreeView</tt></a>
reference description.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TREE_MODEL_ITERS_PERSIST</tt></span></td><td>Iterators survive all signals emitted by the
	    tree.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_MODEL_LIST_ONLY</tt></span></td><td>The model is a list only, and never has
	    children</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-treeview-drop-position-constants"></a><h3>GTK TreeView Drop Position Constants</h3><p>The TreeView Drop Position constants specify where a dropped row
goes.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_DROP_BEFORE</tt></span></td><td>The dropped item goes before the row it's dropped
on.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_DROP_AFTER</tt></span></td><td>The dropped item goes after the row it's dropped
on.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_DROP_INTO_OR_BEFORE</tt></span></td><td>The dropped item becomes a child of the row it's dropped
on. Fallback to goes before.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_DROP_INTO_OR_AFTER</tt></span></td><td>The dropped item becomes a child of the row it's dropped
on. Fallback to goes after.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-treeviewcolumn-sizing-constants"></a><h3>GTK TreeViewColumn Sizing Constants</h3><p>The TreeViewColumn Sizing constants specify the sizing method the
column uses to determine its width. Please note that
<tt class="literal">gtk.TREE_VIEW_COLUMN_AUTOSIZE</tt> are inefficient for large
views, and can make columns appear choppy.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_COLUMN_GROW_ONLY</tt></span></td><td>Columns only get bigger in reaction to changes in the
	    model</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_COLUMN_AUTOSIZE</tt></span></td><td>Columns resize to be the optimal size every time the
	    model changes.</td></tr><tr><td><span class="term"><tt class="literal">gtk.TREE_VIEW_COLUMN_FIXED</tt></span></td><td>Columns are a fixed numbers of pixels wide.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-uimanager-item-type-constants"></a><h3>GTK UIManager Item Type Constants</h3><p>The UIManager Item Type constants specify what UI element to
create.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_AUTO</tt></span></td><td>Pick the type of the UI element according to
	    context.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_MENUBAR</tt></span></td><td>Create a menubar. </td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_MENU</tt></span></td><td>Create a menu.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_TOOLBAR</tt></span></td><td>Create a toolbar.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_PLACEHOLDER</tt></span></td><td>Insert a placeholder.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_POPUP</tt></span></td><td>Create a popup menu.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_MENUITEM</tt></span></td><td>Create a menuitem.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_TOOLITEM</tt></span></td><td>Create a toolitem.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_SEPARATOR</tt></span></td><td>Create a separator.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UI_MANAGER_ACCELERATOR</tt></span></td><td>Install an accelerator.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-update-type-constants"></a><h3>GTK Update Type Constants</h3><p>The Update Type constants specify the update policy of a <a href="class-gtkrange.html" title="gtk.Range"><tt class="classname">gtk.Range</tt></a> and <a href="class-gtkspinbutton.html" title="gtk.SpinButton"><tt class="classname">gtk.SpinButton</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.UPDATE_CONTINUOUS</tt></span></td><td>Update the display continuously as the pointer is
	    moved.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UPDATE_DISCONTINUOUS</tt></span></td><td>Update the display at intervals while the pointer is
	    being moved.</td></tr><tr><td><span class="term"><tt class="literal">gtk.UPDATE_DELAYED</tt></span></td><td>Update the display after the pointer has finished
	    moving.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-version-constants"></a><h3>GTK Version Constants</h3><p>The Version constants specify the versions of
<tt class="literal">GTK+</tt> and <tt class="literal">PyGTK</tt> as a 3-tuple containing
the major, minor and patch release numbers.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.gtk_version</tt></span></td><td>A 3-tuple containing the <tt class="literal">GTK+</tt>
	    (major, minor, patch) release numbers.</td></tr><tr><td><span class="term"><tt class="literal">gtk.pygtk_version</tt></span></td><td>A 3-tuple containing the <tt class="literal">PyGTK</tt>
	    (major, minor, patch) release numbers.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-widget-flags-constants"></a><h3>GTK Widget Flags  Constants</h3><p>The Widget Flags constants are a set of bit-flags that specify
certain properties of the widget.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.TOPLEVEL</tt></span></td><td>Widgets without a real parent, as there are <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a> and <a href="class-gtkmenu.html" title="gtk.Menu"><tt class="classname">gtk.Menu</tt></a> objects that
have this flag set throughout their lifetime. Toplevel widgets always
contain their own <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.NO_WINDOW</tt></span></td><td> Indicative for a widget that does not provide its own
<a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a>. Visible
action (e.g. drawing) is performed on the parent's <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.REALIZED</tt></span></td><td>Set by the <a href="class-gtkwidget.html#method-gtkwidget--realize" title="gtk.Widget.realize"><tt class="methodname">gtk.Widget.realize</tt>()</a>
method , unset by the <a href="class-gtkwidget.html#method-gtkwidget--unrealize" title="gtk.Widget.unrealize"><tt class="methodname">gtk.Widget.unrealize</tt>()</a>
method. A realized widget has an associated <a href="class-gdkwindow.html" title="gtk.gdk.Window"><tt class="classname">gtk.gdk.Window</tt></a>.</td></tr><tr><td><span class="term"><tt class="literal">gtk.MAPPED</tt></span></td><td> Set by the <a href="class-gtkwidget.html#method-gtkwidget--map" title="gtk.Widget.map"><tt class="methodname">gtk.Widget.map</tt>()</a>
method, unset by the <a href="class-gtkwidget.html#method-gtkwidget--unmap" title="gtk.Widget.unmap"><tt class="methodname">gtk.Widget.unmap</tt>()</a>
method. Only realized widgets can be mapped. It means that the <a href="class-gdkwindow.html#method-gdkwindow--show" title="gtk.gdk.Window.show"><tt class="methodname">gtk.Window.show</tt>()</a>
method has been called on the widgets window(s).</td></tr><tr><td><span class="term"><tt class="literal">gtk.VISIBLE</tt></span></td><td>Set by the <a href="class-gtkwidget.html#method-gtkwidget--show" title="gtk.Widget.show"><tt class="methodname">gtk.Widget.show</tt>()</a>
method, unset by the <a href="class-gtkwidget.html#method-gtkwidget--hide" title="gtk.Widget.hide"><tt class="methodname">gtk.Widget.hide</tt>()</a>
method. Implies that a widget will be mapped as soon as its parent is
mapped.</td></tr><tr><td><span class="term"><tt class="literal">gtk.SENSITIVE</tt></span></td><td>Set and unset by the <a href="class-gtkwidget.html#method-gtkwidget--set-sensitive" title="gtk.Widget.set_sensitive"><tt class="methodname">gtk.Widget.set_sensitive</tt>()</a>
method. The sensitivity of a widget determines whether it will receive
certain events (e.g. button or key presses). One premise for the widgets
sensitivity is to have this flag set.</td></tr><tr><td><span class="term"><tt class="literal">gtk.PARENT_SENSITIVE</tt></span></td><td>Set and unset by the <a href="class-gtkwidget.html#method-gtkwidget--set-sensitive" title="gtk.Widget.set_sensitive"><tt class="methodname">gtk.Widget.set_sensitive</tt>()</a>
method operations on the parents of the widget. This is the second premise
for the widgets sensitivity. Once it has <tt class="literal">gtk.SENSITIVE</tt>
and <tt class="literal">gtk.PARENT_SENSITIVE</tt> set, its state is effectively
sensitive.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CAN_FOCUS</tt></span></td><td>Determines if a widget is able to handle focus
	    grabs.</td></tr><tr><td><span class="term"><tt class="literal">gtk.HAS_FOCUS</tt></span></td><td>Set by the <a href="class-gtkwidget.html#method-gtkwidget--grab-focus" title="gtk.Widget.grab_focus"><tt class="methodname">gtk.Widget.grab_focus</tt>()</a>
method for widgets that also have <tt class="literal">gtk.CAN_FOCUS</tt> set. The
flag will be unset once another widget grabs the focus.</td></tr><tr><td><span class="term"><tt class="literal">gtk.CAN_DEFAULT</tt></span></td><td>The widget is allowed to receive the default action via
the <a href="class-gtkwidget.html#method-gtkwidget--grab-default" title="gtk.Widget.grab_default"><tt class="methodname">gtk.Widget.grab_default</tt>()</a>
method.</td></tr><tr><td><span class="term"><tt class="literal">gtk.HAS_DEFAULT</tt></span></td><td>The widget currently is receiving the default
	    action.</td></tr><tr><td><span class="term"><tt class="literal">gtk.HAS_GRAB</tt></span></td><td>Set by the <a href="class-gtkwidget.html#method-gtkwidget--grab-add" title="gtk.Widget.grab_add"><tt class="methodname">gtk.Widget.grab_add</tt>()</a>
method, unset by the <a href="class-gtkwidget.html#method-gtkwidget--grab-remove" title="gtk.Widget.grab_remove"><tt class="methodname">gtk.Widget.grab_remove</tt>()</a>
method. It means that the widget is in the grab_widgets stack, and will be
the preferred one for receiving events other than ones of cosmetic
value.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RC_STYLE</tt></span></td><td> Indicates that the widgets style has been looked up
through the rc mechanism. It does not imply that the widget actually had a
style defined through the rc mechanism.</td></tr><tr><td><span class="term"><tt class="literal">gtk.COMPOSITE_CHILD</tt></span></td><td>Indicates that the widget is a composite child of its
parent; see the <a href="class-gtkwidget.html#function-gtk--widget-push-composite-child" title="gtk.widget_push_composite_child"><tt class="function">gtk.widget_push_composite_child</tt>()</a>
and <a href="class-gtkwidget.html#function-gtk--widget-pop-composite-child" title="gtk.widget_pop_composite_child"><tt class="function">gtk.widget_pop_composite_child</tt>()</a>
functions.</td></tr><tr><td><span class="term"><tt class="literal">gtk.NO_REPARENT</tt></span></td><td>Unused.</td></tr><tr><td><span class="term"><tt class="literal">gtk.APP_PAINTABLE</tt></span></td><td>Set and unset by the <a href="class-gtkwidget.html#method-gtkwidget--set-app-paintable" title="gtk.Widget.set_app_paintable"><tt class="methodname">gtk.Widget.set_app_paintable</tt>()</a>
method. Must be set on widgets whose window the application directly draws
on, in order to keep PyGTK and GTK+ from overwriting the drawn
stuff.</td></tr><tr><td><span class="term"><tt class="literal">gtk.RECEIVES_DEFAULT</tt></span></td><td>The widget when focused will receive the default action
and have <tt class="literal">gtk.HAS_DEFAULT</tt> set even if there is a different
widget set as default.</td></tr><tr><td><span class="term"><tt class="literal">gtk.DOUBLE_BUFFERED</tt></span></td><td>Set and unset by the <a href="class-gtkwidget.html#method-gtkwidget--set-double-buffered" title="gtk.Widget.set_double_buffered"><tt class="methodname">gtk.Widget.set_double_buffered</tt>()</a>
method. Indicates that exposes done on the widget should be
double-buffered.</td></tr><tr><td><span class="term"><tt class="literal">gtk.NO_SHOW_ALL</tt></span></td><td>If <tt class="literal">TRUE</tt>, the <a href="class-gtkwidget.html#method-gtkwidget--show-all" title="gtk.Widget.show_all"><tt class="methodname">show_all</tt>()</a>
and <a href="class-gtkwidget.html#method-gtkwidget--hide-all" title="gtk.Widget.hide_all"><tt class="methodname">hide_all</tt>()</a>
methods do not affect the widget.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-widget-help-type-constants"></a><h3>GTK Widget Help Type Constants</h3><p>The Widget Help Type constants specify the help type of the
widget.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.WIDGET_HELP_TOOLTIP</tt></span></td><td>Tooltip help.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WIDGET_HELP_WHATS_THIS</tt></span></td><td>What's this help.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-window-position-constants"></a><h3>GTK Window Position Constants</h3><p>The Window Position constants specify hints for initial window
placement.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.WIN_POS_NONE</tt></span></td><td>No influence is made on placement.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WIN_POS_CENTER</tt></span></td><td>Windows should be placed in the center of the screen.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WIN_POS_MOUSE</tt></span></td><td>Windows should be placed at the current mouse position.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WIN_POS_CENTER_ALWAYS</tt></span></td><td>Keep window centered as it changes size, etc.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WIN_POS_CENTER_ON_PARENT</tt></span></td><td>Center the window on its transient parent (see the
	    <a href="class-gtkwindow.html#method-gtkwindow--set-transient-for" title="gtk.Window.set_transient_for"><tt class="methodname">gtk.Window.set_transient_for</tt>()</a>)
	    method.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-window-type-constants"></a><h3>GTK Window Type Constants</h3><p>The Window Type constants specify the type of a <a href="class-gtkwindow.html" title="gtk.Window"><tt class="classname">gtk.Window</tt></a>. Most
things you'd consider a "window" should have type
<tt class="literal">gtk.WINDOW_TOPLEVEL</tt>; windows with this type are managed
by the window manager and have a frame by default (call the <a href="class-gtkwindow.html#method-gtkwindow--set-decorated" title="gtk.Window.set_decorated"><tt class="methodname">set_decorated</tt>()</a>
method to toggle the frame). Windows with type
<tt class="literal">gtk.WINDOW_POPUP</tt> are ignored by the window manager;
window manager keybindings won't work on them, the window manager won't
decorate the window with a frame, many GTK+ features that rely on the window
manager will not work (e.g. resize grips and
maximization/minimization). <tt class="literal">gtk.WINDOW_POPUP</tt> is used to
implement widgets such as <a href="class-gtkmenu.html" title="gtk.Menu"><tt class="classname">gtk.Menu</tt></a> or tooltips
that you normally don't think of as windows per se. Nearly all windows
should be <tt class="literal">gtk.WINDOW_TOPLEVEL</tt>. In particular, do not use
<tt class="literal">gtk.WINDOW_POPUP</tt> just to turn off the window borders; use
the <a href="class-gtkwindow.html#method-gtkwindow--set-decorated" title="gtk.Window.set_decorated"><tt class="methodname">gtk.Window.set_decorated</tt>()</a>
method for that.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.WINDOW_TOPLEVEL</tt></span></td><td>A regular window, such as a dialog.</td></tr><tr><td><span class="term"><tt class="literal">gtk.WINDOW_POPUP</tt></span></td><td>A special window such as a tooltip.</td></tr></tbody></table></div><div class="refsect2" lang="en"><a name="gtk-wrap-mode-constants"></a><h3>GTK Wrap Mode Constants</h3><p>The Wrap Mode constants specify the type of line wrapping in a
<a href="class-gtktextview.html" title="gtk.TextView"><tt class="classname">gtk.TextView</tt></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><tt class="literal">gtk.WRAP_NONE</tt></span></td><td>Do not wrap lines - just make the text area
wider</td></tr><tr><td><span class="term"><tt class="literal">gtk.WRAP_CHAR</tt></span></td><td>Wrap text, breaking lines anywhere the cursor can
appear (usually between characters)</td></tr><tr><td><span class="term"><tt class="literal">gtk.WRAP_WORD</tt></span></td><td>Wrap text, breaking lines in between words</td></tr><tr><td><span class="term"><tt class="literal">gtk.WRAP_WORD_CHAR</tt></span></td><td>Wrap text, breaking lines in between words, or if that
is not enough, also between graphemes.</td></tr></tbody></table></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="gtk-stock-items.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="gdk-class-reference.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Stock Items</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">The gtk.gdk Class Reference</td></tr></table></div></body></html>