This file is indexed.

/usr/share/gtk-doc/html/pygtk/gtk-constants.html is in python-gtk2-doc 2.24.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk Constants</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><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="prev" 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" title="gtk Constants"><a name="gtk-constants"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk Constants</h2><p>gtk Constants — the built-in constants of the gtk module</p></div><div class="refsect1" title="Synopsis"><a name="id4151581"></a><h2>Synopsis</h2><pre class="programlisting">
<a class="xref" href="gtk-constants.html#gtk-accel-flags-constants" title="GTK Accel Flags Constants">GTK Accel Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-anchor-type-constants" title="GTK Anchor Type Constants">GTK Anchor Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-arrow-type-constants" title="GTK Arrow Type Constants">GTK Arrow Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-assistant-page-type-constants" title="GTK Assistant Page Type Constants">GTK Assistant Page Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-attach-options-constants" title="GTK Attach Flag Options Constants">GTK Attach Flag Options Constants</a>
<a class="xref" href="gtk-constants.html#gtk-buttonbox-style-constants" title="GTK ButtonBox Style Constants">GTK ButtonBox Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-buttons-type-constants" title="GTK Buttons Type Constants">GTK Buttons Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-calendar-display-options-constants" title="GTK Calendar Display Options Constants">GTK Calendar Display Options Constants</a>
<a class="xref" href="gtk-constants.html#gtk-cellrenderer-mode-constants" title="GTK CellRenderer Mode Constants">GTK CellRenderer Mode Constants</a>
<a class="xref" href="gtk-constants.html#gtk-cellrenderer-state-constants" title="GTK CellRenderer State Constants">GTK CellRenderer State Constants</a>
<a class="xref" href="gtk-constants.html#gtk-cellrendereraccel-mode-constants" title="GTK CellRendererAccel Mode Constants">GTK CellRendererAccel Mode Constants</a>
<a class="xref" href="gtk-constants.html#gtk-corner-type-constants" title="GTK Corner Type Constants">GTK Corner Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-curve-type-constants" title="GTK Curve Type Constants">GTK Curve Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-debug-flag-constants" title="GTK Debug Flag Constants">GTK Debug Flag Constants</a>
<a class="xref" href="gtk-constants.html#gtk-delete-type-constants" title="GTK Delete Type Constants">GTK Delete Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-dest-defaults-constants" title="GTK Dest Defaults Constants">GTK Dest Defaults Constants</a>
<a class="xref" href="gtk-constants.html#gtk-dialog-flag-constants" title="GTK Dialog Flag Constants">GTK Dialog Flag Constants</a>
<a class="xref" href="gtk-constants.html#gtk-direction-type-constants" title="GTK Direction Type Constants">GTK Direction Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-expander-style-constants" title="GTK Expander Style Constants">GTK Expander Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-filechooser-action-constants" title="GTK FileChooser Action Constants">GTK FileChooser Action Constants</a>
<a class="xref" href="gtk-constants.html#gtk-filechooser-confirmation-constants" title="GTK FileChooser Confirmation Constants">GTK FileChooser Confirmation Constants</a>
<a class="xref" href="gtk-constants.html#gtk-filechooser-error-constants" title="GTK FileChooser Error Constants">GTK FileChooser Error Constants</a>
<a class="xref" href="gtk-constants.html#gtk-filefilter-flags-constants" title="GTK FileFilter Flags Constants">GTK FileFilter Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-icon-lookup-flags-constants" title="GTK Icon Lookup Flags Constants">GTK Icon Lookup Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-icon-size-constants" title="GTK Icon Size Constants">GTK Icon Size Constants</a>
<a class="xref" href="gtk-constants.html#gtk-icontheme-error-constants" title="GTK IconTheme Error Constants">GTK IconTheme Error Constants</a>
<a class="xref" href="gtk-constants.html#gtk-iconview-drop-position-constants" title="GTK IconView Drop Position Constants">GTK IconView Drop Position Constants</a>
<a class="xref" href="gtk-constants.html#gtk-im-preedit-style-constants" title="GTK IM Pre-edit Style Constants">GTK IM Pre-edit Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-im-status-style-constants" title="GTK IM Status Style Constants">GTK IM Status Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-image-type-constants" title="GTK Image Type Constants">GTK Image Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-justification-constants" title="GTK Justification Constants">GTK Justification Constants</a>
<a class="xref" href="gtk-constants.html#gtk-menu-direction-type-constants" title="GTK Menu Direction Type Constants">GTK Menu Direction Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-message-type-constants" title="GTK Message Type Constants">GTK Message Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-metric-type-constants" title="GTK Metric Type Constants">GTK Metric Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-movement-step-constants" title="GTK Movement Step Constants">GTK Movement Step Constants</a>
<a class="xref" href="gtk-constants.html#gtk-notebook-tab-constants" title="GTK Notebook Tab Constants">GTK Notebook Tab Constants</a>
<a class="xref" href="gtk-constants.html#gtk-number-up-layout-constants" title="GTK Number Up Layout Constants">GTK Number Up Layout Constants</a>
<a class="xref" href="gtk-constants.html#gtk-object-flags-constants" title="GTK Object Flags Constants">GTK Object Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-orientation-constants" title="GTK Orientation Constants">GTK Orientation Constants</a>
<a class="xref" href="gtk-constants.html#gtk-pack-direction-constants" title="GTK Pack Direction Constants">GTK Pack Direction Constants</a>
<a class="xref" href="gtk-constants.html#gtk-pack-type-constants" title="GTK Pack Type Constants">GTK Pack Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-page-orientation-constants" title="GTK Page Orientation Constants">GTK Page Orientation Constants</a>
<a class="xref" href="gtk-constants.html#gtk-page-set-constants" title="GTK Page Set Constants">GTK Page Set Constants</a>
<a class="xref" href="gtk-constants.html#gtk-paper-name-constants" title="GTK Papaer Name Constants">GTK Papaer Name Constants</a>
<a class="xref" href="gtk-constants.html#gtk-path-priority-type-constants" title="GTK Path Priority Type Constants">GTK Path Priority Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-path-type-constants" title="GTK Path Type Constants">GTK Path Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-policy-type-constants" title="GTK Policy Type Constants">GTK Policy Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-position-type-constants" title="GTK Position Type Constants">GTK Position Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-duplex-constants" title="GTK Print Duplex Constants">GTK Print Duplex Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-error-constants" title="GTK Print Error Constants">GTK Print Error Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-pages-constants" title="GTK Print Pages Constants">GTK Print Pages Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-operation-action-constants" title="GTK Print Operation Action Constants">GTK Print Operation Action Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-operation-result-constants" title="GTK Print Operation Result Constants">GTK Print Operation Result Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-quality-constants" title="GTK Print Quality Constants">GTK Print Quality Constants</a>
<a class="xref" href="gtk-constants.html#gtk-print-status-constants" title="GTK Print Status Constants">GTK Print Status Constants</a>
<a class="xref" href="gtk-constants.html#gtk-progressbar-orientation-constants" title="GTK ProgressBar Orientation Constants">GTK ProgressBar Orientation Constants</a>
<a class="xref" href="gtk-constants.html#gtk-progressbar-style-constants" title="GTK ProgressBar Style Constants">GTK ProgressBar Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-rc-flags-constants" title="GTK RC Flags Constants">GTK RC Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-rc-token-type-constants" title="GTK RC Token Type Constants">GTK RC Token Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-recent-chooser-error-constants" title="GTK Recent Chooser Error Constants">GTK Recent Chooser Error Constants</a>
<a class="xref" href="gtk-constants.html#gtk-recent-filter-flags-constants" title="GTK Recent Filter Flags">GTK Recent Filter Flags</a>
<a class="xref" href="gtk-constants.html#gtk-recent-sort-type-constants" title="GTK Recent Sort Type Constants">GTK Recent Sort Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-relief-style-constants" title="GTK Relief Style Constants">GTK Relief Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-resize-mode-constants" title="GTK Resize Mode Constants">GTK Resize Mode Constants</a>
<a class="xref" href="gtk-constants.html#gtk-response-type-constants" title="GTK Response Type Constants">GTK Response Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-scroll-step-constants" title="GTK Scroll Step Constants">GTK Scroll Step Constants</a>
<a class="xref" href="gtk-constants.html#gtk-scroll-type-constants" title="GTK Scroll Type Constants">GTK Scroll Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-selection-mode-constants" title="GTK Selection Mode Constants">GTK Selection Mode Constants</a>
<a class="xref" href="gtk-constants.html#gtk-shadow-type-constants" title="GTK Shadow Type Constants">GTK Shadow Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-sizegroup-mode-constants" title="GTK SizeGroup Mode Constants">GTK SizeGroup Mode Constants</a>
<a class="xref" href="gtk-constants.html#gtk-sort-type" title="GTK Sort Type Constants">GTK Sort Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-spinbutton-update-policy-constants" title="GTK SpinButton Update Policy Constants">GTK SpinButton Update Policy Constants</a>
<a class="xref" href="gtk-constants.html#gtk-spin-type-constants" title="GTK Spin Type Constants">GTK Spin Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-state-type-constants" title="GTK State Type Constants">GTK State Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-target-flags-constants" title="GTK Target Flags Constants">GTK Target Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-text-direction-constants" title="GTK Text Direction Constants">GTK Text Direction Constants</a>
<a class="xref" href="gtk-constants.html#gtk-text-search-flags-constants" title="GTK Text Search Flags Constants Constants">GTK Text Search Flags Constants Constants</a>
<a class="xref" href="gtk-constants.html#gtk-text-window-type-constants" title="GTK Text Window Type Constants">GTK Text Window Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-textbuffer-target-info-constants" title="GTK TextBuffer Target Info Constants">GTK TextBuffer Target Info Constants</a>
<a class="xref" href="gtk-constants.html#gtk-toolbar-space-style-constants" title="GTK Toolbar Space Style Constants">GTK Toolbar Space Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-toolbar-style-constants" title="GTK Toolbar Style Constants">GTK Toolbar Style Constants</a>
<a class="xref" href="gtk-constants.html#gtk-treemodel-flags-constants" title="GTK TreeModel Flags Constants">GTK TreeModel Flags Constants</a>
<a class="xref" href="gtk-constants.html#gtk-treeview-drop-position-constants" title="GTK TreeView Drop Position Constants">GTK TreeView Drop Position Constants</a>
<a class="xref" href="gtk-constants.html#gtk-treeview-grid-lines-constants" title="GTK TreeView Grid Lines Constants">GTK TreeView Grid Lines Constants</a>
<a class="xref" href="gtk-constants.html#gtk-treeviewcolumn-sizing-constants" title="GTK TreeViewColumn Sizing Constants">GTK TreeViewColumn Sizing Constants</a>
<a class="xref" href="gtk-constants.html#gtk-uimanager-item-type-constants" title="GTK UIManager Item Type Constants">GTK UIManager Item Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-unit-constants" title="GTK Unit Constants">GTK Unit Constants</a>
<a class="xref" href="gtk-constants.html#gtk-update-type-constants" title="GTK Update Type Constants">GTK Update Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-version-constants" title="GTK Version Constants">GTK Version Constants</a>
<a class="xref" href="gtk-constants.html#gtk-widget-flags-constants" title="GTK Widget Flags Constants">GTK Widget Flags  Constants</a>
<a class="xref" href="gtk-constants.html#gtk-widget-help-type-constants" title="GTK Widget Help Type Constants">GTK Widget Help Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-window-position-constants" title="GTK Window Position Constants">GTK Window Position Constants</a>
<a class="xref" href="gtk-constants.html#gtk-window-type-constants" title="GTK Window Type Constants">GTK Window Type Constants</a>
<a class="xref" href="gtk-constants.html#gtk-wrap-mode-constants" title="GTK Wrap Mode Constants">GTK Wrap Mode Constants</a>
</pre></div><div class="refsect1" title="Description"><a name="gtk-constants-description"></a><h2>Description</h2><div class="refsect2" title="GTK Accel Flags Constants"><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><p><span class="term"><code class="literal">gtk.ACCEL_VISIBLE</code></span></p></td><td>if set, the accelerator is visible in a label</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ACCEL_LOCKED</code></span></p></td><td>If set the accelerator cannot be changed by the
	    user.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ACCEL_MASK</code></span></p></td><td>A mask for the Accel Flags</td></tr></tbody></table></div><div class="refsect2" title="GTK Anchor Type Constants"><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><p><span class="term"><code class="literal">gtk.ANCHOR_CENTER</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_NORTH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_NORTH_WEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_NORTH_EAST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_SOUTH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_SOUTH_WEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_SOUTH_EAST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_WEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_EAST,</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_N</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_NORTH</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_NW</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_NORTH_WEST</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_NE</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_NORTH_EAST</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_S</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_SOUTH</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_SW</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_SOUTH_WEST</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_SE</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_SOUTH_EAST</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_W</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_WEST</code></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ANCHOR_E</code></span></p></td><td>Same as <code class="literal">gtk.ANCHOR_EAST</code></td></tr></tbody></table></div><div class="refsect2" title="GTK Arrow Type Constants"><a name="gtk-arrow-type-constants"></a><h3>GTK Arrow Type Constants</h3><p>The Arrow Type constants specify the direction a <a class="link" href="class-gtkarrow.html" title="gtk.Arrow"><code class="classname">gtk.Arrow</code></a> should
point.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ARROW_UP</code></span></p></td><td>Represents an upward pointing arrow.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ARROW_DOWN</code></span></p></td><td>Represents a downward pointing arrow.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ARROW_LEFT</code></span></p></td><td>Represents a left pointing arrow.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ARROW_RIGHT</code></span></p></td><td>Represents a right pointing arrow.</td></tr></tbody></table></div><div class="refsect2" title="GTK Assistant Page Type Constants"><a name="gtk-assistant-page-type-constants"></a><h3>GTK Assistant Page Type Constants</h3><p>The Assistant Page Type constants are used to determine the page
      role inside the <a class="link" href="class-gtkassistant.html" title="gtk.Assistant"><code class="classname">gtk.Assistant</code></a>. It's
      used to handle buttons sensitivity and visibility.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>An assistant needs to end its page flow with a page of type
        <code class="literal">gtk.ASSISTANT_PAGE_CONFIRM</code> or
        <code class="literal">gtk.ASSISTANT_PAGE_SUMMARY</code> to be correct.</p></div><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ASSISTANT_PAGE_CONTENT</code></span></p></td><td>The page has regular contents.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ASSISTANT_PAGE_INTRO</code></span></p></td><td>The page contains an introduction to the assistant
	    task.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ASSISTANT_PAGE_CONFIRM</code></span></p></td><td>The page lets the user confirm or deny the
	    changes.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ASSISTANT_PAGE_SUMMARY</code></span></p></td><td>The page informs the user of the changes done.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ASSISTANT_PAGE_PROGRESS</code></span></p></td><td>Used for tasks that take a long time to complete,
	    blocks the assistant until the page is marked as
	    complete.</td></tr></tbody></table></div><div class="refsect2" title="GTK Attach Flag Options Constants"><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><p><span class="term"><code class="literal">gtk.EXPAND</code></span></p></td><td>The widget should expand to take up any extra space in
its container that has been allocated.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SHRINK</code></span></p></td><td>The widget should shrink as and when
possible.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILL</code></span></p></td><td>The widget should fill the space allocated to
it.</td></tr></tbody></table></div><div class="refsect2" title="GTK ButtonBox Style Constants"><a name="gtk-buttonbox-style-constants"></a><h3>GTK ButtonBox Style Constants</h3><p>The ButtonBox Style constants specify the style that a <a class="link" href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><code class="classname">gtk.ButtonBox</code></a>
uses to layout the buttons it contains. (See also: <a class="link" href="class-gtkvbuttonbox.html" title="gtk.VButtonBox"><code class="classname">gtk.VButtonBox</code></a>
and <a class="link" href="class-gtkhbuttonbox.html" title="gtk.HButtonBox"><code class="classname">gtk.HButtonBox</code></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.BUTTONBOX_DEFAULT_STYLE</code></span></p></td><td>Default packing.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONBOX_SPREAD</code></span></p></td><td>Buttons are evenly spread across the ButtonBox.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONBOX_EDGE</code></span></p></td><td>Buttons are placed at the edges of the
	    ButtonBox.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONBOX_START</code></span></p></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><p><span class="term"><code class="literal">gtk.BUTTONBOX_END</code></span></p></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" title="GTK Buttons Type Constants"><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
<code class="literal">gtk.BUTTONS_NONE</code> then call the <a class="link" href="class-gtkdialog.html#method-gtkdialog--add-buttons" title="gtk.Dialog.add_buttons"><code class="methodname">add_buttons</code>()</a>
method.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_NONE</code></span></p></td><td>no buttons at all</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_OK</code></span></p></td><td>an OK button</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_CLOSE</code></span></p></td><td>a Close button</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_CANCEL</code></span></p></td><td>a Cancel button</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_YES_NO</code></span></p></td><td>Yes and No buttons</td></tr><tr><td><p><span class="term"><code class="literal">gtk.BUTTONS_OK_CANCEL</code></span></p></td><td>OK and Cancel buttons</td></tr></tbody></table></div><div class="refsect2" title="GTK Calendar Display Options Constants"><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 class="link" href="class-gtkcalendar.html" title="gtk.Calendar"><code class="classname">gtk.Calendar</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.CALENDAR_SHOW_HEADING</code></span></p></td><td>Specifies that the month and year should be
	    displayed.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CALENDAR_SHOW_DAY_NAMES</code></span></p></td><td>Specifies that three letter day descriptions should be
	    present.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CALENDAR_NO_MONTH_CHANGE</code></span></p></td><td>Prevents the user from switching months with the
	    calendar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CALENDAR_SHOW_WEEK_NUMBERS</code></span></p></td><td>Displays each week numbers of the current year, down
	    the left side of the calendar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CALENDAR_WEEK_START_MONDAY</code></span></p></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" title="GTK CellRenderer Mode Constants"><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><p><span class="term"><code class="literal">gtk.CELL_RENDERER_MODE_INERT</code></span></p></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><p><span class="term"><code class="literal">gtk.CELL_RENDERER_MODE_ACTIVATABLE</code></span></p></td><td>The cell can be clicked.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_MODE_EDITABLE</code></span></p></td><td>The cell can be edited or otherwise modified.</td></tr></tbody></table></div><div class="refsect2" title="GTK CellRenderer State Constants"><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><p><span class="term"><code class="literal">gtk.CELL_RENDERER_SELECTED</code></span></p></td><td>The cell is currently selected, and probably has a
	    selection colored background to render to.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_PRELIT</code></span></p></td><td>The mouse is hovering over the cell.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_INSENSITIVE</code></span></p></td><td>The cell is drawn in an insensitive manner</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_SORTED</code></span></p></td><td>The cell is in a sorted row</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_FOCUSED</code></span></p></td><td>The cell has the focus.</td></tr></tbody></table></div><div class="refsect2" title="GTK CellRendererAccel Mode Constants"><a name="gtk-cellrendereraccel-mode-constants"></a><h3>GTK CellRendererAccel Mode Constants</h3><p>The CellRendererAccel Mode constants specify if the edited
      accelerators are GTK+ accelerators. If they are, consumed modifiers
      are suppressed, only accelerators accepted by GTK+ are allowed, and
      the accelerators are rendered in the same way as they are in
      menus.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_ACCEL_MODE_GTK</code></span></p></td><td>Only accelerators accepted by GTK+ are allowed.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CELL_RENDERER_ACCEL_MODE_OTHER</code></span></p></td><td>Any accelerators are allowed.</td></tr></tbody></table></div><div class="refsect2" title="GTK Corner Type Constants"><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 class="link" href="class-gtkscrolledwindow.html" title="gtk.ScrolledWindow"><code class="classname">gtk.ScrolledWindow</code></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><p><span class="term"><code class="literal">gtk.CORNER_TOP_LEFT</code></span></p></td><td>Place the scrollbars on the right and bottom of the
widget (default behavior).</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CORNER_BOTTOM_LEFT</code></span></p></td><td>Place the scrollbars on the top and right of the
widget.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CORNER_TOP_RIGHT</code></span></p></td><td>Place the scrollbars on the left and bottom of the
widget.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CORNER_BOTTOM_RIGHT</code></span></p></td><td>Place the scrollbars on the top and left of the
widget.</td></tr></tbody></table></div><div class="refsect2" title="GTK Curve Type Constants"><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 class="link" href="class-gtkcurve.html" title="gtk.Curve"><code class="classname">gtk.Curve</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.CURVE_TYPE_LINEAR</code></span></p></td><td>Linear interpolation</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CURVE_TYPE_SPLINE</code></span></p></td><td>Spline interpolation</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CURVE_TYPE_FREE</code></span></p></td><td>Free form curve</td></tr></tbody></table></div><div class="refsect2" title="GTK Debug Flag Constants"><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><p><span class="term"><code class="literal">gtk.DEBUG_MISC</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_PLUGSOCKET</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_TEXT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_TREE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_UPDATES</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_KEYBINDINGS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEBUG_MULTIHEAD</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Delete Type Constants"><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><p><span class="term"><code class="literal">gtk.DELETE_CHARS</code></span></p></td><td>Delete a character at the cursor</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_WORD_ENDS</code></span></p></td><td>Delete from the cursor to the end of a word</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_WORDS</code></span></p></td><td>Delete a number of words</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_DISPLAY_LINES</code></span></p></td><td>Delete a single line at the cursor</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_DISPLAY_LINE_ENDS,</code></span></p></td><td>Delete from the cursor to the end of the line.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_PARAGRAPH_ENDS</code></span></p></td><td>Delete from the cursor to a paragraph end (usually to
	    the period)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_PARAGRAPHS</code></span></p></td><td>Delete several complete paragraphs at the cursor </td></tr><tr><td><p><span class="term"><code class="literal">gtk.DELETE_WHITESPACE</code></span></p></td><td>Delete the whitespace at the cursor.</td></tr></tbody></table></div><div class="refsect2" title="GTK Dest Defaults Constants"><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><p><span class="term"><code class="literal">gtk.DEST_DEFAULT_MOTION</code></span></p></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 class="link" href="class-gdkdragcontext.html#method-gdkdragcontext--drag-status" title="gtk.gdk.DragContext.drag_status"><code class="methodname">gtk.gdk.DragContext.drag_status</code>()</a>
method will be called as appropriate.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEST_DEFAULT_HIGHLIGHT</code></span></p></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><p><span class="term"><code class="literal">gtk.DEST_DEFAULT_DROP</code></span></p></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 class="link" href="class-gtkwidget.html#method-gtkwidget--drag-get-data" title="gtk.Widget.drag_get_data"><code class="methodname">gtk.Widget.drag_get_data</code>()</a>
method on behalf of the widget. Whether or not the drop is successful, call
the <a class="link" href="class-gdkdragcontext.html#method-gdkdragcontext--finish" title="gtk.gdk.DragContext.finish"><code class="methodname">gtk.gdk.DragContext.finish</code>()</a>
method. If the action was a move, then if the drag was successful, then
<code class="literal">True</code> will be passed for the delete parameter to the <a class="link" href="class-gdkdragcontext.html#method-gdkdragcontext--finish" title="gtk.gdk.DragContext.finish"><code class="methodname">gtk.gdk.DragContext.finish</code>()</a>
method.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DEST_DEFAULT_ALL</code></span></p></td><td>If set, specifies that all default actions should be
taken.</td></tr></tbody></table></div><div class="refsect2" title="GTK Dialog Flag Constants"><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><p><span class="term"><code class="literal">gtk.DIALOG_MODAL</code></span></p></td><td>If set, the dialog grabs all keyboard
	  events</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIALOG_DESTROY_WITH_PARENT</code></span></p></td><td>If set, the dialog is destroyed when its parent
	    is.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIALOG_NO_SEPARATOR</code></span></p></td><td>If set, there is no separator bar above the
	    buttons.</td></tr></tbody></table></div><div class="refsect2" title="GTK Direction Type Constants"><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><p><span class="term"><code class="literal">gtk.DIR_TAB_FORWARD</code></span></p></td><td>Tab forward.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIR_TAB_BACKWARD</code></span></p></td><td>Tab backward.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIR_UP</code></span></p></td><td>Up.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIR_DOWN</code></span></p></td><td>Down.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIR_LEFT</code></span></p></td><td>Left.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DIR_RIGHT</code></span></p></td><td>Right.</td></tr></tbody></table></div><div class="refsect2" title="GTK Expander Style Constants"><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 class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.EXPANDER_COLLAPSED</code></span></p></td><td>The style used for a collapsed subtree.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.EXPANDER_SEMI_COLLAPSED</code></span></p></td><td>Intermediate style used during animation.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.EXPANDER_SEMI_EXPANDED</code></span></p></td><td>Intermediate style used during animation.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.EXPANDER_EXPANDED</code></span></p></td><td>The style used for an expanded subtree.</td></tr></tbody></table></div><div class="refsect2" title="GTK FileChooser Action Constants"><a name="gtk-filechooser-action-constants"></a><h3>GTK FileChooser Action Constants</h3><p>The FileChooser Action constants specify the mode of a <a class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></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><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ACTION_OPEN</code></span></p></td><td>Indicates open mode. The file chooser will only let the
	    user pick an existing file.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ACTION_SAVE</code></span></p></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><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER</code></span></p></td><td>Indicates an Open mode for selecting folders. The file
	    chooser will let the user pick an existing folder.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ACTION_CREATE_FOLDER</code></span></p></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" title="GTK FileChooser Confirmation Constants"><a name="gtk-filechooser-confirmation-constants"></a><h3>GTK FileChooser Confirmation Constants</h3><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>These constants are available in PyGTK 2.8 and above.</p></div><p>The FileChooser Confirmation constants are used to specify the
return value of a <a class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></a>
"<a class="link" href="class-gtkfilechooser.html#signal-gtkfilechooser--confirm-overwrite" title='The "confirm-overwrite" gtk.FileChooser Signal'>confirm-overwrite</a>"
signal handler. This value determines whether the file chooser will present
the stock confirmation dialog, accept the user's choice of a filename, or
let the user choose another filename.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_CONFIRMATION_CONFIRM</code></span></p></td><td>The file chooser will present its stock dialog to
confirm overwriting an existing file.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</code></span></p></td><td>The file chooser will terminate and accept the user's
choice of a file name.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</code></span></p></td><td>The file chooser will continue running, allowing
the user to select another file name.</td></tr></tbody></table></div><div class="refsect2" title="GTK FileChooser Error Constants"><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 class="link" href="class-gtkfilechooser.html" title="gtk.FileChooser"><code class="classname">gtk.FileChooser</code></a>
functions.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ERROR_NONEXISTENT</code></span></p></td><td>Indicates that a file does not exist.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_CHOOSER_ERROR_BAD_FILENAME</code></span></p></td><td>Indicates a malformed filename.</td></tr></tbody></table></div><div class="refsect2" title="GTK FileFilter Flags Constants"><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><p><span class="term"><code class="literal">gtk.FILE_FILTER_FILENAME</code></span></p></td><td>The full pathname of the file e.g. /tmp/junk.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_FILTER_URI</code></span></p></td><td>The full URI of the file
	    e.g. file:///tmp/junk.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_FILTER_DISPLAY_NAME</code></span></p></td><td>The simple name of the file e.g. junk.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FILE_FILTER_MIME_TYPE</code></span></p></td><td>The MIME type of the file e.g. text/html.</td></tr></tbody></table></div><div class="refsect2" title="GTK Icon Lookup Flags Constants"><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 class="link" href="class-gtkicontheme.html#method-gtkicontheme--lookup-icon" title="gtk.IconTheme.lookup_icon"><code class="methodname">gtk.IconTheme.lookup_icon</code>()</a>
method</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ICON_LOOKUP_NO_SVG</code></span></p></td><td> Never return SVG (Scalable Vector Graphics) icons,
even if gdk-pixbuf supports them. Cannot be used together with
<code class="literal">gtk.ICON_LOOKUP_FORCE_SVG</code>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_LOOKUP_FORCE_SVG</code></span></p></td><td>Return SVG icons, even if gdk-pixbuf doesn't support
them. Cannot be used together with
<code class="literal">gtk.ICON_LOOKUP_NO_SVG</code>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_LOOKUP_USE_BUILTIN</code></span></p></td><td>When passed to the <a class="link" href="class-gtkicontheme.html#method-gtkicontheme--lookup-icon" title="gtk.IconTheme.lookup_icon"><code class="methodname">gtk.IconTheme.lookup_icon</code>()</a>
method includes builtin icons as well as files. For a builtin icon, the
<a class="link" href="class-gtkiconinfo.html#method-gtkiconinfo--get-filename" title="gtk.IconInfo.get_filename"><code class="methodname">gtk.IconInfo.get_filename</code>()</a>
method returns <code class="literal">None</code> and you need to call the <a class="link" href="class-gtkiconinfo.html#method-gtkiconinfo--get-builtin-pixbuf" title="gtk.IconInfo.get_builtin_pixbuf"><code class="methodname">gtk.IconInfo.get_builtin_pixbuf</code>()</a>
method.</td></tr></tbody></table></div><div class="refsect2" title="GTK Icon Size Constants"><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><p><span class="term"><code class="literal">gtk.ICON_SIZE_INVALID</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_MENU</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_SMALL_TOOLBAR</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_LARGE_TOOLBAR</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_BUTTON</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_DND</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_SIZE_DIALOG</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK IconTheme Error Constants"><a name="gtk-icontheme-error-constants"></a><h3>GTK IconTheme Error Constants</h3><p>The IconTheme Error constants specify error codes for <a class="link" href="class-gtkicontheme.html" title="gtk.IconTheme"><code class="classname">gtk.IconTheme</code></a>
operations.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ICON_THEME_NOT_FOUND</code></span></p></td><td>The icon specified does not exist in the
	    theme</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_THEME_FAILED</code></span></p></td><td>An unspecified error occurred.</td></tr></tbody></table></div><div class="refsect2" title="GTK IconView Drop Position Constants"><a name="gtk-iconview-drop-position-constants"></a><h3>GTK IconView Drop Position Constants</h3><p>The IconView Drop Position constants specify the location relative to the receiving item where the drop should take place.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_NO_DROP</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_DROP_INTO</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_DROP_LEFT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_DROP_RIGHT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_DROP_ABOVE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.ICON_VIEW_DROP_BELOW</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK IM Pre-edit Style Constants"><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><p><span class="term"><code class="literal">gtk.IM_PREEDIT_NOTHING</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IM_PREEDIT_CALLBACK</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IM_PREEDIT_NONE</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK IM Status Style Constants"><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><p><span class="term"><code class="literal">gtk.IM_STATUS_NOTHING</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IM_STATUS_CALLBACK</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IM_STATUS_NONE</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Image Type Constants"><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 class="link" href="class-gtkimage.html" title="gtk.Image"><code class="classname">gtk.Image</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_EMPTY</code></span></p></td><td>There is no image displayed by the widget</td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_PIXMAP</code></span></p></td><td>The widget contains a <a class="link" href="class-gdkpixmap.html" title="gtk.gdk.Pixmap"><code class="classname">gtk.gdk.Pixmap</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_IMAGE</code></span></p></td><td>The widget contains a <a class="link" href="class-gdkimage.html" title="gtk.gdk.Image"><code class="classname">gtk.gdk.Image</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_PIXBUF</code></span></p></td><td>The widget contains a <a class="link" href="class-gdkpixbuf.html" title="gtk.gdk.Pixbuf"><code class="classname">gtk.gdk.Pixbuf</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_STOCK</code></span></p></td><td>The widget contains a stock icon name (see the <a class="link" href="gtk-stock-items.html" title="Stock Items">Stock Items</a> reference)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_ICON_SET</code></span></p></td><td>The widget contains a <a class="link" href="class-gtkiconset.html" title="gtk.IconSet"><code class="classname">gtk.IconSet</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.IMAGE_ANIMATION</code></span></p></td><td>The widget contains a <a class="link" href="class-gdkpixbufanimation.html" title="gtk.gdk.PixbufAnimation"><code class="classname">gtk.gdk.PixbufAnimation</code></a></td></tr></tbody></table></div><div class="refsect2" title="GTK Justification Constants"><a name="gtk-justification-constants"></a><h3>GTK Justification Constants</h3><p>The Justification constants specify the justification of the
text inside a <a class="link" href="class-gtklabel.html" title="gtk.Label"><code class="classname">gtk.Label</code></a>
widget. (See also <a class="link" href="class-gtkalignment.html" title="gtk.Alignment"><code class="classname">gtk.Alignment</code></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.JUSTIFY_LEFT</code></span></p></td><td>The text is placed at the left edge of the
	    label.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.JUSTIFY_RIGHT</code></span></p></td><td>The text is placed at the right edge of the
	    label.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.JUSTIFY_CENTER</code></span></p></td><td>The text is placed in the center of the
	    label.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.JUSTIFY_FILL</code></span></p></td><td>The text is placed is distributed across the
	    label.</td></tr></tbody></table></div><div class="refsect2" title="GTK Menu Direction Type Constants"><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><p><span class="term"><code class="literal">gtk.MENU_DIR_PARENT</code></span></p></td><td>To the parent menu shell.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MENU_DIR_CHILD</code></span></p></td><td>To the submenu, if any, associated with the item.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MENU_DIR_NEXT</code></span></p></td><td>To the next menu item.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MENU_DIR_PREV</code></span></p></td><td>To the previous menu item.</td></tr></tbody></table></div><div class="refsect2" title="GTK Message Type Constants"><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><p><span class="term"><code class="literal">gtk.MESSAGE_INFO</code></span></p></td><td>Informational message</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MESSAGE_WARNING</code></span></p></td><td>Nonfatal warning message</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MESSAGE_QUESTION</code></span></p></td><td>Question requiring a choice</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MESSAGE_ERROR</code></span></p></td><td>Fatal error message</td></tr></tbody></table></div><div class="refsect2" title="GTK Metric Type Constants"><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 class="link" href="class-gtkruler.html" title="gtk.Ruler"><code class="classname">gtk.Ruler</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PIXELS</code></span></p></td><td>Pixels.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.INCHES</code></span></p></td><td>Inches.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CENTIMETERS</code></span></p></td><td>Centimeters.</td></tr></tbody></table></div><div class="refsect2" title="GTK Movement Step Constants"><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><p><span class="term"><code class="literal">gtk.MOVEMENT_LOGICAL_POSITIONS</code></span></p></td><td>move by graphemes</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_VISUAL_POSITIONS</code></span></p></td><td>move by graphemes</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_WORDS</code></span></p></td><td>move by words</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_DISPLAY_LINES</code></span></p></td><td>move by lines(wrapped lines)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_DISPLAY_LINE_ENDS</code></span></p></td><td>move to line ends(wrapped lines)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_PARAGRAPHS</code></span></p></td><td>move by paragraphs(newline-ended lines)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_PARAGRAPH_ENDS</code></span></p></td><td>move to ends of a paragraph</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_PAGES</code></span></p></td><td>move by pages</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MOVEMENT_BUFFER_ENDS</code></span></p></td><td>move to ends of the buffer</td></tr></tbody></table></div><div class="refsect2" title="GTK Notebook Tab Constants"><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><p><span class="term"><code class="literal">gtk.NOTEBOOK_TAB_FIRST</code></span></p></td><td>The first <a class="link" href="class-gtknotebook.html" title="gtk.Notebook"><code class="classname">gtk.Notebook</code></a>
tab</td></tr><tr><td><p><span class="term"><code class="literal">gtk.NOTEBOOK_TAB_LAST</code></span></p></td><td>The last <a class="link" href="class-gtknotebook.html" title="gtk.Notebook"><code class="classname">gtk.Notebook</code></a>
tab</td></tr></tbody></table></div><div class="refsect2" title="GTK Number Up Layout Constants"><a name="gtk-number-up-layout-constants"></a><h3>GTK Number Up Layout Constants</h3><p>Used to determine the layout of pages on a sheet when printing
      multiple pages per sheet.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-lrtb.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-lrbt.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-rltb.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-lrbt.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-tblr.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-tbrl.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-btlr.png"></span>
            </td></tr><tr><td><p><span class="term"><code class="literal">gtk.NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT</code></span></p></td><td>
              <span class="inlinemediaobject"><img src="images/layout-btrl.png"></span>
            </td></tr></tbody></table></div><div class="refsect2" title="GTK Object Flags Constants"><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 class="link" href="class-gtkobject.html" title="gtk.Object"><code class="classname">gtk.Object</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.IN_DESTRUCTION</code></span></p></td><td>The object is currently being destroyed. This is used
	    internally to prevent reinvocations during
	    destruction.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.FLOATING</code></span></p></td><td>The object is orphaned.</td></tr></tbody></table></div><div class="refsect2" title="GTK Orientation Constants"><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 class="link" href="class-gtktoolbar.html" title="gtk.Toolbar"><code class="classname">gtk.Toolbar</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.ORIENTATION_HORIZONTAL</code></span></p></td><td>The widget is in horizontal orientation.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.ORIENTATION_VERTICAL</code></span></p></td><td>The widget is in vertical orientation. </td></tr></tbody></table></div><div class="refsect2" title="GTK Pack Direction Constants"><a name="gtk-pack-direction-constants"></a><h3>GTK Pack Direction Constants</h3><p>The Pack Direction constants specify the arrangement of <a class="link" href="class-gtkmenuitem.html" title="gtk.MenuItem"><code class="classname">gtk.MenuItem</code></a>s in a
<a class="link" href="class-gtkmenubar.html" title="gtk.MenuBar"><code class="classname">gtk.MenuBar</code></a>
or in a child <a class="link" href="class-gtkmenuitem.html" title="gtk.MenuItem"><code class="classname">gtk.MenuItem</code></a> of a
menubar.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PACK_DIRECTION_LTR</code></span></p></td><td>Pack left to right</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PACK_DIRECTION_RTL</code></span></p></td><td>Pack right to left</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PACK_DIRECTION_TTB</code></span></p></td><td>Pack top to bottom</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PACK_DIRECTION_BTT</code></span></p></td><td>Pack bottom to top</td></tr></tbody></table></div><div class="refsect2" title="GTK Pack Type Constants"><a name="gtk-pack-type-constants"></a><h3>GTK Pack Type Constants</h3><p>The Pack Type constants specify the packing location <a class="link" href="class-gtkbox.html" title="gtk.Box"><code class="classname">gtk.Box</code></a> children. (See:
<a class="link" href="class-gtkvbox.html" title="gtk.VBox"><code class="classname">gtk.VBox</code></a>, <a class="link" href="class-gtkhbox.html" title="gtk.HBox"><code class="classname">gtk.HBox</code></a>, and <a class="link" href="class-gtkbuttonbox.html" title="gtk.ButtonBox"><code class="classname">gtk.ButtonBox</code></a>).</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PACK_START</code></span></p></td><td>The child is packed into the start of the box</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PACK_END</code></span></p></td><td>The child is packed into the end of the box</td></tr></tbody></table></div><div class="refsect2" title="GTK Page Orientation Constants"><a name="gtk-page-orientation-constants"></a><h3>GTK Page Orientation Constants</h3><p>The Page Orientation constants specify the orientation of a
      page.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PAGE_ORIENTATION_PORTRAIT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAGE_ORIENTATION_LANDSCAPE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAGE_ORIENTATION_REVERSE_PORTRAIT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAGE_ORIENTATION_REVERSE_LANDSCAPE</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Page Set Constants"><a name="gtk-page-set-constants"></a><h3>GTK Page Set Constants</h3><p>The Page Set constants specify the set of
      pages to print.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PAGE_SET_ALL</code></span></p></td><td>print all pages</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAGE_SET_EVEN</code></span></p></td><td>print even pages only</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAGE_SET_ODD</code></span></p></td><td>print odd pages only</td></tr></tbody></table></div><div class="refsect2" title="GTK Papaer Name Constants"><a name="gtk-paper-name-constants"></a><h3>GTK Papaer Name Constants</h3><p>The Paper Name constants specify the common standard sizes of
      paper as a string.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_A3</code></span></p></td><td>Name for the A4 paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_A4</code></span></p></td><td>Name for the A4 paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_A5</code></span></p></td><td>Name for the A5 paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_B5</code></span></p></td><td>Name for the B5 paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_LETTER</code></span></p></td><td>Name for the Letter paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PAPER_NAME_EXECUTIVE</code></span></p></td><td>Name for the Executive paper size.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.Name for the Legal paper size.</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Path Priority Type Constants"><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><p><span class="term"><code class="literal">gtk.PATH_PRIO_LOWEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_PRIO_GTK</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_PRIO_APPLICATION</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_PRIO_THEME</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_PRIO_RC</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_PRIO_HIGHEST</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Path Type Constants"><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><p><span class="term"><code class="literal">gtk.PATH_WIDGET</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_WIDGET_CLASS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PATH_CLASS</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Policy Type Constants"><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><p><span class="term">gtk.POLICY_ALWAYS</span></p></td><td>the scrollbar is always present</td></tr><tr><td><p><span class="term">gtk.POLICY_AUTOMATIC</span></p></td><td>the scrollbar is present only if needed i.e. the
contents are larger than the window</td></tr><tr><td><p><span class="term">gtk.POLICY_NEVER</span></p></td><td>the scrollbar is never present</td></tr></tbody></table></div><div class="refsect2" title="GTK Position Type Constants"><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><p><span class="term"><code class="literal">gtk.POS_LEFT</code></span></p></td><td>The feature is at the left edge.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.POS_RIGHT</code></span></p></td><td>The feature is at the right edge.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.POS_TOP</code></span></p></td><td>The feature is at the top edge.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.POS_BOTTOM</code></span></p></td><td>The feature is at the bottom edge</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Duplex Constants"><a name="gtk-print-duplex-constants"></a><h3>GTK Print Duplex Constants</h3><p>The Print Status constants specify how the output pages should
      be duplexed:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_DUPLEX_SIMPLEX</code></span></p></td><td>one page per sheet i.e. no duplexing</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_DUPLEX_HORIZONTAL</code></span></p></td><td>two pages per sheet horizontally duplexed</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_DUPLEX_VERTICAL</code></span></p></td><td>two pages per sheet vertically duplexed</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Error Constants"><a name="gtk-print-error-constants"></a><h3>GTK Print Error Constants</h3><p>The Print Error constants specify the type of printing
      error:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_ERROR_GENERAL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_ERROR_INTERNAL_ERROR</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_ERROR_NOMEM</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Print Pages Constants"><a name="gtk-print-pages-constants"></a><h3>GTK Print Pages Constants</h3><p>The Print Pages constants specify the set that should be
      printed:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_PAGES_ALL</code></span></p></td><td>print all pages</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_PAGES_CURRENT</code></span></p></td><td>print the current page</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_PAGES_RANGES</code></span></p></td><td>print the specified ranges of pages</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Operation Action Constants"><a name="gtk-print-operation-action-constants"></a><h3>GTK Print Operation Action Constants</h3><p>The Print Operation Action constants specify the print operation
      to be performed:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_ACTION_PRINT_DIALOG</code></span></p></td><td>Show the print dialog.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_ACTION_PRINT</code></span></p></td><td>Start to print without showing the print dialog, based
	    on the current print settings.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_ACTION_PREVIEW</code></span></p></td><td>Show the print preview.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_ACTION_EXPORT</code></span></p></td><td>Export to a file. This requires the "export-filename"
	    property to be set.</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Operation Result Constants"><a name="gtk-print-operation-result-constants"></a><h3>GTK Print Operation Result Constants</h3><p>The Print Operation Result constants specify the result of the
      print operation as returned by the <a class="link" href="class-gtkprintoperation.html#method-gtkprintoperation--run" title="gtk.PrintOperation.run"><code class="methodname">gtk.PrintOperation.run</code>()</a>)
      method:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_RESULT_ERROR</code></span></p></td><td>An error has occured.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_RESULT_APPLY</code></span></p></td><td>The print settings should be stored.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_RESULT_CANCEL</code></span></p></td><td>The print operation has been canceled, the print
	    settings should not be stored.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_OPERATION_RESULT_IN_PROGRESS</code></span></p></td><td>The print operation is complete yet. This value will
	    only be returned when running asynchronously.</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Quality Constants"><a name="gtk-print-quality-constants"></a><h3>GTK Print Quality Constants</h3><p>The Print Quality constants specify the quality that should be
      used when printing the output pages:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_QUALITY_LOW</code></span></p></td><td>low quality</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_QUALITY_NORMAL</code></span></p></td><td>normal quality</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_QUALITY_HIGH</code></span></p></td><td>high quality</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_QUALITY_DRAFT</code></span></p></td><td>draft quality</td></tr></tbody></table></div><div class="refsect2" title="GTK Print Status Constants"><a name="gtk-print-status-constants"></a><h3>GTK Print Status Constants</h3><p>The Print Status constants specify </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_INITIAL</code></span></p></td><td>The printing has not started yet; this status is set
	    initially, and while the print dialog is shown.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_PREPARING</code></span></p></td><td>This status is set while the "begin-print" signal is
	    emitted and during pagination.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_GENERATING_DATA</code></span></p></td><td>This status is set while the pages are being
	    rendered.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_SENDING_DATA</code></span></p></td><td>The print job is being sent off to the
	    printer.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_PENDING</code></span></p></td><td>The print job has been sent to the printer, but is not
	    printed for some reason, e.g. the printer may be
	    stopped.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_PENDING_ISSUE</code></span></p></td><td>Some problem has occurred during printing, e.g. a paper
	    jam.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_PRINTING</code></span></p></td><td>The printer is processing the print job.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_FINISHED</code></span></p></td><td>The printing has been completed successfully.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PRINT_STATUS_FINISHED_ABORTED</code></span></p></td><td>The printing has been aborted. </td></tr></tbody></table></div><div class="refsect2" title="GTK ProgressBar Orientation Constants"><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><p><span class="term"><code class="literal">gtk.PROGRESS_LEFT_TO_RIGHT</code></span></p></td><td>A horizontal progress bar growing from left to
right.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PROGRESS_RIGHT_TO_LEFT</code></span></p></td><td>A horizontal progress bar growing from right to
left.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PROGRESS_BOTTOM_TO_TOP</code></span></p></td><td>A vertical progress bar growing from bottom to
top.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PROGRESS_TOP_TO_BOTTOM</code></span></p></td><td>A vertical progress bar growing from top to
bottom.</td></tr></tbody></table></div><div class="refsect2" title="GTK ProgressBar Style Constants"><a name="gtk-progressbar-style-constants"></a><h3>GTK ProgressBar Style Constants</h3><p>The ProgressBar Style constants specify the style of the <a class="link" href="class-gtkprogressbar.html" title="gtk.ProgressBar"><code class="classname">gtk.ProgressBar</code></a>
display.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.PROGRESS_CONTINUOUS</code></span></p></td><td>The progress bar grows in a smooth, continuous
	    manner.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.PROGRESS_DISCRETE</code></span></p></td><td>The progress bar grows in discrete, visible
	    blocks.</td></tr></tbody></table></div><div class="refsect2" title="GTK RC Flags Constants"><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 class="link" href="class-gtkrcstyle.html" title="gtk.RcStyle"><code class="classname">gtk.RcStyle</code></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><p><span class="term"><code class="literal">gtk.RC_FG</code></span></p></td><td>If present, the foreground color has been set for this
	    state.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_BG</code></span></p></td><td>If present, the background color has been set for this
	    state.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TEXT</code></span></p></td><td>If present, the text color has been set for this
	    state.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_BASE</code></span></p></td><td>If present, the base color has been set for this
	    state.</td></tr></tbody></table></div><div class="refsect2" title="GTK RC Token Type Constants"><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><p><span class="term"><code class="literal">gtk.RC_TOKEN_INVALID</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_INCLUDE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_NORMAL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_ACTIVE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_PRELIGHT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_SELECTED</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_INSENSITIVE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_FG</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_BG</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_TEXT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_BASE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_XTHICKNESS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_YTHICKNESS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_FONT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_FONTSET</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_FONT_NAME</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_BG_PIXMAP</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_PIXMAP_PATH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_STYLE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_BINDING</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_BIND</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_WIDGET</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_WIDGET_CLASS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_CLASS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_LOWEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_GTK</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_APPLICATION</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_THEME</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_RC</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_HIGHEST</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_ENGINE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_MODULE_PATH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_IM_MODULE_PATH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_IM_MODULE_FILE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_STOCK</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_LTR</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_RTL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.RC_TOKEN_LAST</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Recent Chooser Error Constants"><a name="gtk-recent-chooser-error-constants"></a><h3>GTK Recent Chooser Error Constants</h3><p>The Recent Recent Chooser Error constants specify the various
      errors that can occur while calling <a class="link" href="class-gtkrecentchooser.html" title="gtk.RecentChooser"><code class="classname">gtk.RecentChooser</code></a>
      methods:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.RECENT_CHOOSER_ERROR_NOT_FOUND</code></span></p></td><td>Indicates that a file does not exist</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_CHOOSER_ERROR_INVALID_URI</code></span></p></td><td>Indicates a malformed URI</td></tr></tbody></table></div><div class="refsect2" title="GTK Recent Filter Flags"><a name="gtk-recent-filter-flags-constants"></a><h3>GTK Recent Filter Flags</h3><p>The Recent Filter Flags specify what types of filtering are
      needed:</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_URI</code></span></p></td><td>the URI of the file being tested</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_DISPLAY_NAME</code></span></p></td><td>the string that will be used to display the file in the
	    recent chooser</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_MIME_TYPE</code></span></p></td><td>the mime type of the file</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_APPLICATION</code></span></p></td><td>the list of applications that have registered the
	    file</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_GROUP</code></span></p></td><td>the groups to which the file belongs</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_FILTER_AGE</code></span></p></td><td>the number of days elapsed since the file has been
	    registered</td></tr></tbody></table></div><div class="refsect2" title="GTK Recent Sort Type Constants"><a name="gtk-recent-sort-type-constants"></a><h3>GTK Recent Sort Type Constants</h3><p>The Recent Sort Type constants specify the sorting method to be
      applyed to the recently used resource list.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.RECENT_SORT_NONE</code></span></p></td><td>Do not sort the returned list of recently used
	    resources.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_SORT_MRU</code></span></p></td><td>Sort the returned list with the most recently used
	    items first.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_SORT_LRU</code></span></p></td><td>Sort the returned list with the least recently used
	    items first.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RECENT_SORT_CUSTOM</code></span></p></td><td>Sort the returned list using a custom sorting function
	    passed using the <a class="link" href="class-gtkrecentchooser.html#method-gtkrecentchooser--set-sort-func" title="gtk.RecentChooser.set_sort_func"><code class="methodname">gtk.RecentChooser.set_sort_func</code>()</a>
	    method.</td></tr></tbody></table></div><div class="refsect2" title="GTK Relief Style Constants"><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><p><span class="term"><code class="literal">gtk.RELIEF_NORMAL</code></span></p></td><td>Draw a normal relief.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RELIEF_HALF</code></span></p></td><td>Draw a half relief.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RELIEF_NONE</code></span></p></td><td>Draw no relief.</td></tr></tbody></table></div><div class="refsect2" title="GTK Resize Mode Constants"><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><p><span class="term"><code class="literal">gtk.RESIZE_PARENT</code></span></p></td><td>Pass resize request to the parent</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RESIZE_QUEUE</code></span></p></td><td>Queue resizes on this widget</td></tr><tr><td><p><span class="term"><code class="literal">gtk.RESIZE_IMMEDIATE</code></span></p></td><td>Perform the resizes now</td></tr></tbody></table></div><div class="refsect2" title="GTK Response Type Constants"><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><p></p></td><td><code class="literal">gtk.RESPONSE_NONE</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_REJECT</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_ACCEPT</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_DELETE_EVENT</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_OK</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_CANCEL</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_CLOSE</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_YES</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_NO</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_APPLY</code></td></tr><tr><td><p></p></td><td><code class="literal">gtk.RESPONSE_HELP</code></td></tr></tbody></table></div><div class="refsect2" title="GTK Scroll Step Constants"><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><p><span class="term"><code class="literal">gtk.SCROLL_STEPS</code></span></p></td><td>Scroll up or down in step increments</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGES,</code></span></p></td><td>Scroll up or down in page increments</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_ENDS</code></span></p></td><td>Scroll to the beginning or end</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_HORIZONTAL_STEPS</code></span></p></td><td>Scroll left or right in step increments</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_HORIZONTAL_PAGES</code></span></p></td><td>Scroll left or right in step increments</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_HORIZONTAL_ENDS</code></span></p></td><td>Scroll to the far left end or far right end.</td></tr></tbody></table></div><div class="refsect2" title="GTK Scroll Type Constants"><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><p><span class="term"><code class="literal">gtk.SCROLL_NONE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_JUMP</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_BACKWARD</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_FORWARD</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_BACKWARD</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_FORWARD</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_UP</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_DOWN</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_UP</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_DOWN</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_LEFT,</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_STEP_RIGHT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_LEFT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_PAGE_RIGHT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_START</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SCROLL_END</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Selection Mode Constants"><a name="gtk-selection-mode-constants"></a><h3>GTK Selection Mode Constants</h3><p>The Selection Mode constants specify the mode of <a class="link" href="class-gtktreeselection.html" title="gtk.TreeSelection"><code class="classname">gtk.TreeSelection</code></a>
      in a <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.Treeview</code></a></p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.SELECTION_NONE</code></span></p></td><td>No selection allowed.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SELECTION_SINGLE</code></span></p></td><td>A single selection allowed by clicking.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SELECTION_BROWSE</code></span></p></td><td>A single selection allowed by browsing with the
pointer.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SELECTION_MULTIPLE</code></span></p></td><td>Multiple items can be selected at once.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SELECTION_EXTENDED</code></span></p></td><td>Deprecated.</td></tr></tbody></table></div><div class="refsect2" title="GTK Shadow Type Constants"><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 class="link" href="class-gtkframe.html" title="gtk.Frame"><code class="classname">gtk.Frame</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.SHADOW_NONE</code></span></p></td><td>No outline.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SHADOW_IN</code></span></p></td><td>The outline is beveled inward.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SHADOW_OUT</code></span></p></td><td>The outline is beveled outward like a button.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SHADOW_ETCHED_IN</code></span></p></td><td>The outline itself is an inward bevel, but the frame
	    bevels outward</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SHADOW_ETCHED_OUT</code></span></p></td><td>The outline itself is an outward bevel, but the frame
	    bevels inward</td></tr></tbody></table></div><div class="refsect2" title="GTK SizeGroup Mode Constants"><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><p><span class="term"><code class="literal">gtk.SIZE_GROUP_NONE</code></span></p></td><td>The group has no affect</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SIZE_GROUP_HORIZONTAL</code></span></p></td><td>The group affects horizontal requisition</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SIZE_GROUP_VERTICAL</code></span></p></td><td>The group affects vertical requisition</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SIZE_GROUP_BOTH</code></span></p></td><td>The group affects both horizontal and vertical
	    requisition</td></tr></tbody></table></div><div class="refsect2" title="GTK Sort Type Constants"><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><p><span class="term"><code class="literal">gtk.SORT_ASCENDING</code></span></p></td><td>Sorting is in ascending order.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SORT_DESCENDING</code></span></p></td><td>Sorting is in descending order.</td></tr></tbody></table></div><div class="refsect2" title="GTK SpinButton Update Policy Constants"><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 class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.UPDATE_ALWAYS</code></span></p></td><td>When refreshing a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>,
the value is always displayed.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UPDATE_IF_VALID</code></span></p></td><td>When refreshing a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>,
the value is only displayed if it is valid within the bounds of the spin
button's <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</td></tr></tbody></table></div><div class="refsect2" title="GTK Spin Type Constants"><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 class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.SPIN_STEP_FORWARD</code></span></p></td><td>Spin a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
forward by the step value of the spin button's <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_STEP_BACKWARD</code></span></p></td><td>Spin a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
backward by the step value of the spin button's <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_PAGE_FORWARD</code></span></p></td><td>Spin a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
forward by the page value of the spin button's <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_PAGE_BACKWARD</code></span></p></td><td>Spin a <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>
backward by the page value of the spin button's <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_HOME</code></span></p></td><td>Set the spin button's value to the minimum possible
value specified by its <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_END</code></span></p></td><td>Set the spin button's value to the maximum possible
value specified by its <a class="link" href="class-gtkadjustment.html" title="gtk.Adjustment"><code class="classname">gtk.Adjustment</code></a></td></tr><tr><td><p><span class="term"><code class="literal">gtk.SPIN_USER_DEFINED</code></span></p></td><td>The programmer must specify the exact amount to spin
the <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>.</td></tr></tbody></table></div><div class="refsect2" title="GTK State Type Constants"><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 class="link" href="class-gtkstyle.html" title="gtk.Style"><code class="classname">gtk.Style</code></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><p><span class="term"><code class="literal">gtk.STATE_NORMAL</code></span></p></td><td>State during normal operation.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.STATE_ACTIVE</code></span></p></td><td>State of a currently active widget, such as a depressed
	    button.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.STATE_PRELIGHT</code></span></p></td><td>State indicating that the mouse pointer is over the
	    widget and the widget will respond to mouse clicks.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.STATE_SELECTED</code></span></p></td><td>State of a selected item, such the selected row in a
	    list.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.STATE_INSENSITIVE</code></span></p></td><td>State indicating that the widget is unresponsive to
	    user actions.</td></tr></tbody></table></div><div class="refsect2" title="GTK Target Flags Constants"><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><p><span class="term"><code class="literal">gtk.TARGET_SAME_APP</code></span></p></td><td> If this is set, the target will only be selected for
drags within a single application.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TARGET_SAME_WIDGET</code></span></p></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" title="GTK Text Direction Constants"><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><p><span class="term"><code class="literal">gtk.TEXT_DIR_NONE</code></span></p></td><td>Text direction not specified.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_DIR_LTR,</code></span></p></td><td>Left to right direction.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_DIR_RTL</code></span></p></td><td>Right to left direction</td></tr></tbody></table></div><div class="refsect2" title="GTK Text Search Flags Constants Constants"><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 class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TEXT_SEARCH_VISIBLE_ONLY</code></span></p></td><td>Only visible text can match the search
	    criteria.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_SEARCH_TEXT_ONLY</code></span></p></td><td>Both visible and invisible text can match the search
	    criteria.</td></tr></tbody></table></div><div class="refsect2" title="GTK Text Window Type Constants"><a name="gtk-text-window-type-constants"></a><h3>GTK Text Window Type Constants</h3><p>The Text Window Type constants specify the <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>
objects that make up a <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>. See
the <a class="link" href="class-gtktextview.html#method-gtktextview--get-window" title="gtk.TextView.get_window"><code class="methodname">gtk.TextView.get_window</code>()</a>
method for more detail.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_WIDGET</code></span></p></td><td>The <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> of
the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>
widget.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_TEXT</code></span></p></td><td>The <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> that
contains the text in the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_LEFT</code></span></p></td><td>The left child <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> of
the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_RIGHT</code></span></p></td><td>The right child <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> of
the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_TOP</code></span></p></td><td>The top child <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> of
the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_WINDOW_BOTTOM</code></span></p></td><td>The bottom child <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a> of
the <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</td></tr></tbody></table></div><div class="refsect2" title="GTK TextBuffer Target Info Constants"><a name="gtk-textbuffer-target-info-constants"></a><h3>GTK TextBuffer Target Info Constants</h3><p>The TextBuffer Target Info constants specify the info integer
      for use with the <a class="link" href="class-gtkselectiondata.html#function-gtk--target-list-add-rich-text-targets" title="gtk.target_list_add_rich_text_targets"><code class="function">gtk.target_list_add_rich_text_targets</code>()</a>
      and <a class="link" href="class-gtkselectiondata.html#function-gtk--target-list-add-text-targets" title="gtk.target_list_add_text_targets"><code class="function">gtk.target_list_add_text_targets</code>()</a>
      functions.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_BUFFER_TARGET_INFO_RICH_TEXT</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.TEXT_BUFFER_TARGET_INFO_TEXT</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Toolbar Space Style Constants"><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><p><span class="term"><code class="literal">gtk.TOOLBAR_SPACE_EMPTY,</code></span></p></td><td>Show as an empty space</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TOOLBAR_SPACE_LINE</code></span></p></td><td>Show as a vertical line.</td></tr></tbody></table></div><div class="refsect2" title="GTK Toolbar Style Constants"><a name="gtk-toolbar-style-constants"></a><h3>GTK Toolbar Style Constants</h3><p>The Toolbar Style constants specify the appearance of a <a class="link" href="class-gtktoolbar.html" title="gtk.Toolbar"><code class="classname">gtk.Toolbar</code></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><p><span class="term"><code class="literal">gtk.TOOLBAR_ICONS</code></span></p></td><td>Buttons display only icons in the toolbar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TOOLBAR_TEXT</code></span></p></td><td>Buttons display only text labels in the
	    toolbar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TOOLBAR_BOTH</code></span></p></td><td>Buttons display text and icons in the
	    toolbar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TOOLBAR_BOTH_HORIZ</code></span></p></td><td>Buttons display icons and text alongside each other,
	    rather than vertically stacked</td></tr></tbody></table></div><div class="refsect2" title="GTK TreeModel Flags Constants"><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 class="link" href="class-gtktreemodel.html" title="gtk.TreeModel"><code class="classname">gtk.TreeModel</code></a>. They
are returned by the <a class="link" href="class-gtktreemodel.html#method-gtktreemodel--get-flags" title="gtk.TreeModel.get_flags"><code class="methodname">gtk.TreeModel.get_flags</code>()</a>
method, and must be static for the lifetime of the object. A more complete
description of <code class="literal">gtk.TREE_MODEL_ITERS_PERSIST</code> can be found
in the <a class="link" href="class-gtktreeview.html" title="gtk.TreeView"><code class="classname">gtk.TreeView</code></a>
reference description.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TREE_MODEL_ITERS_PERSIST</code></span></p></td><td>Iterators survive all signals emitted by the
	    tree.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_MODEL_LIST_ONLY</code></span></p></td><td>The model is a list only, and never has
	    children</td></tr></tbody></table></div><div class="refsect2" title="GTK TreeView Drop Position Constants"><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><p><span class="term"><code class="literal">gtk.TREE_VIEW_DROP_BEFORE</code></span></p></td><td>The dropped item goes before the row it's dropped
on.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_DROP_AFTER</code></span></p></td><td>The dropped item goes after the row it's dropped
on.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_DROP_INTO_OR_BEFORE</code></span></p></td><td>The dropped item becomes a child of the row it's dropped
on. Fallback to goes before.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_DROP_INTO_OR_AFTER</code></span></p></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" title="GTK TreeView Grid Lines Constants"><a name="gtk-treeview-grid-lines-constants"></a><h3>GTK TreeView Grid Lines Constants</h3><p>The TreeView Grid Lines constants specify how grid lines should be applied to a TreeView.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_GRID_LINES_NONE</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_GRID_LINES_HORIZONTAL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_GRID_LINES_VERTICAL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_GRID_LINES_BOTH</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK TreeViewColumn Sizing Constants"><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
<code class="literal">gtk.TREE_VIEW_COLUMN_AUTOSIZE</code> 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><p><span class="term"><code class="literal">gtk.TREE_VIEW_COLUMN_GROW_ONLY</code></span></p></td><td>Columns only get bigger in reaction to changes in the
	    model</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_COLUMN_AUTOSIZE</code></span></p></td><td>Columns resize to be the optimal size every time the
	    model changes.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.TREE_VIEW_COLUMN_FIXED</code></span></p></td><td>Columns are a fixed numbers of pixels wide.</td></tr></tbody></table></div><div class="refsect2" title="GTK UIManager Item Type Constants"><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><p><span class="term"><code class="literal">gtk.UI_MANAGER_AUTO</code></span></p></td><td>Pick the type of the UI element according to
	    context.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_MENUBAR</code></span></p></td><td>Create a menubar. </td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_MENU</code></span></p></td><td>Create a menu.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_TOOLBAR</code></span></p></td><td>Create a toolbar.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_PLACEHOLDER</code></span></p></td><td>Insert a placeholder.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_POPUP</code></span></p></td><td>Create a popup menu.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_MENUITEM</code></span></p></td><td>Create a menuitem.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_TOOLITEM</code></span></p></td><td>Create a toolitem.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_SEPARATOR</code></span></p></td><td>Create a separator.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UI_MANAGER_ACCELERATOR</code></span></p></td><td>Install an accelerator.</td></tr></tbody></table></div><div class="refsect2" title="GTK Unit Constants"><a name="gtk-unit-constants"></a><h3>GTK Unit Constants</h3><p>The Unit constants specify the </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.UNIT_PIXEL</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.UNIT_POINTS</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.UNIT_INCH</code></span></p></td><td></td></tr><tr><td><p><span class="term"><code class="literal">gtk.UNIT_MM</code></span></p></td><td></td></tr></tbody></table></div><div class="refsect2" title="GTK Update Type Constants"><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 class="link" href="class-gtkrange.html" title="gtk.Range"><code class="classname">gtk.Range</code></a> and <a class="link" href="class-gtkspinbutton.html" title="gtk.SpinButton"><code class="classname">gtk.SpinButton</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.UPDATE_CONTINUOUS</code></span></p></td><td>Update the display continuously as the pointer is
	    moved.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UPDATE_DISCONTINUOUS</code></span></p></td><td>Update the display at intervals while the pointer is
	    being moved.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.UPDATE_DELAYED</code></span></p></td><td>Update the display after the pointer has finished
	    moving.</td></tr></tbody></table></div><div class="refsect2" title="GTK Version Constants"><a name="gtk-version-constants"></a><h3>GTK Version Constants</h3><p>The Version constants specify the versions of
<code class="literal">GTK+</code> and <code class="literal">PyGTK</code> 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><p><span class="term"><code class="literal">gtk.gtk_version</code></span></p></td><td>A 3-tuple containing the <code class="literal">GTK+</code>
	    (major, minor, patch) release numbers.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.pygtk_version</code></span></p></td><td>A 3-tuple containing the <code class="literal">PyGTK</code>
	    (major, minor, patch) release numbers.</td></tr></tbody></table></div><div class="refsect2" title="GTK Widget Flags Constants"><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><p><span class="term"><code class="literal">gtk.TOPLEVEL</code></span></p></td><td>Widgets without a real parent, as there are <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a> and <a class="link" href="class-gtkmenu.html" title="gtk.Menu"><code class="classname">gtk.Menu</code></a> objects that
have this flag set throughout their lifetime. Toplevel widgets always
contain their own <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.NO_WINDOW</code></span></p></td><td> Indicative for a widget that does not provide its own
<a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>. Visible
action (e.g. drawing) is performed on the parent's <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.REALIZED</code></span></p></td><td>Set by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--realize" title="gtk.Widget.realize"><code class="methodname">gtk.Widget.realize</code>()</a>
method , unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--unrealize" title="gtk.Widget.unrealize"><code class="methodname">gtk.Widget.unrealize</code>()</a>
method. A realized widget has an associated <a class="link" href="class-gdkwindow.html" title="gtk.gdk.Window"><code class="classname">gtk.gdk.Window</code></a>.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.MAPPED</code></span></p></td><td> Set by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--map" title="gtk.Widget.map"><code class="methodname">gtk.Widget.map</code>()</a>
method, unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--unmap" title="gtk.Widget.unmap"><code class="methodname">gtk.Widget.unmap</code>()</a>
method. Only realized widgets can be mapped. It means that the <a class="link" href="class-gdkwindow.html#method-gdkwindow--show" title="gtk.gdk.Window.show"><code class="methodname">gtk.Window.show</code>()</a>
method has been called on the widgets window(s).</td></tr><tr><td><p><span class="term"><code class="literal">gtk.VISIBLE</code></span></p></td><td>Set by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--show" title="gtk.Widget.show"><code class="methodname">gtk.Widget.show</code>()</a>
method, unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--hide" title="gtk.Widget.hide"><code class="methodname">gtk.Widget.hide</code>()</a>
method. Implies that a widget will be mapped as soon as its parent is
mapped.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.SENSITIVE</code></span></p></td><td>Set and unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--set-sensitive" title="gtk.Widget.set_sensitive"><code class="methodname">gtk.Widget.set_sensitive</code>()</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><p><span class="term"><code class="literal">gtk.PARENT_SENSITIVE</code></span></p></td><td>Set and unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--set-sensitive" title="gtk.Widget.set_sensitive"><code class="methodname">gtk.Widget.set_sensitive</code>()</a>
method operations on the parents of the widget. This is the second premise
for the widgets sensitivity. Once it has <code class="literal">gtk.SENSITIVE</code>
and <code class="literal">gtk.PARENT_SENSITIVE</code> set, its state is effectively
sensitive.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CAN_FOCUS</code></span></p></td><td>Determines if a widget is able to handle focus
	    grabs.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.HAS_FOCUS</code></span></p></td><td>Set by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--grab-focus" title="gtk.Widget.grab_focus"><code class="methodname">gtk.Widget.grab_focus</code>()</a>
method for widgets that also have <code class="literal">gtk.CAN_FOCUS</code> set. The
flag will be unset once another widget grabs the focus.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.CAN_DEFAULT</code></span></p></td><td>The widget is allowed to receive the default action via
the <a class="link" href="class-gtkwidget.html#method-gtkwidget--grab-default" title="gtk.Widget.grab_default"><code class="methodname">gtk.Widget.grab_default</code>()</a>
method.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.HAS_DEFAULT</code></span></p></td><td>The widget currently is receiving the default
	    action.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.HAS_GRAB</code></span></p></td><td>Set by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--grab-add" title="gtk.Widget.grab_add"><code class="methodname">gtk.Widget.grab_add</code>()</a>
method, unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--grab-remove" title="gtk.Widget.grab_remove"><code class="methodname">gtk.Widget.grab_remove</code>()</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><p><span class="term"><code class="literal">gtk.RC_STYLE</code></span></p></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><p><span class="term"><code class="literal">gtk.COMPOSITE_CHILD</code></span></p></td><td>Indicates that the widget is a composite child of its
parent; see the <a class="link" href="class-gtkwidget.html#function-gtk--widget-push-composite-child" title="gtk.widget_push_composite_child"><code class="function">gtk.widget_push_composite_child</code>()</a>
and <a class="link" href="class-gtkwidget.html#function-gtk--widget-pop-composite-child" title="gtk.widget_pop_composite_child"><code class="function">gtk.widget_pop_composite_child</code>()</a>
functions.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.NO_REPARENT</code></span></p></td><td>Unused.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.APP_PAINTABLE</code></span></p></td><td>Set and unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--set-app-paintable" title="gtk.Widget.set_app_paintable"><code class="methodname">gtk.Widget.set_app_paintable</code>()</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><p><span class="term"><code class="literal">gtk.RECEIVES_DEFAULT</code></span></p></td><td>The widget when focused will receive the default action
and have <code class="literal">gtk.HAS_DEFAULT</code> set even if there is a different
widget set as default.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.DOUBLE_BUFFERED</code></span></p></td><td>Set and unset by the <a class="link" href="class-gtkwidget.html#method-gtkwidget--set-double-buffered" title="gtk.Widget.set_double_buffered"><code class="methodname">gtk.Widget.set_double_buffered</code>()</a>
method. Indicates that exposes done on the widget should be
double-buffered.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.NO_SHOW_ALL</code></span></p></td><td>If <code class="literal">True</code>, the <a class="link" href="class-gtkwidget.html#method-gtkwidget--show-all" title="gtk.Widget.show_all"><code class="methodname">show_all</code>()</a>
and <a class="link" href="class-gtkwidget.html#method-gtkwidget--hide-all" title="gtk.Widget.hide_all"><code class="methodname">hide_all</code>()</a>
methods do not affect the widget.</td></tr></tbody></table></div><div class="refsect2" title="GTK Widget Help Type Constants"><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><p><span class="term"><code class="literal">gtk.WIDGET_HELP_TOOLTIP</code></span></p></td><td>Tooltip help.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WIDGET_HELP_WHATS_THIS</code></span></p></td><td>What's this help.</td></tr></tbody></table></div><div class="refsect2" title="GTK Window Position Constants"><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><p><span class="term"><code class="literal">gtk.WIN_POS_NONE</code></span></p></td><td>No influence is made on placement.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WIN_POS_CENTER</code></span></p></td><td>Windows should be placed in the center of the screen.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WIN_POS_MOUSE</code></span></p></td><td>Windows should be placed at the current mouse position.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WIN_POS_CENTER_ALWAYS</code></span></p></td><td>Keep window centered as it changes size, etc.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WIN_POS_CENTER_ON_PARENT</code></span></p></td><td>Center the window on its transient parent (see the
	    <a class="link" href="class-gtkwindow.html#method-gtkwindow--set-transient-for" title="gtk.Window.set_transient_for"><code class="methodname">gtk.Window.set_transient_for</code>()</a>)
	    method.</td></tr></tbody></table></div><div class="refsect2" title="GTK Window Type Constants"><a name="gtk-window-type-constants"></a><h3>GTK Window Type Constants</h3><p>The Window Type constants specify the type of a <a class="link" href="class-gtkwindow.html" title="gtk.Window"><code class="classname">gtk.Window</code></a>. Most
things you'd consider a "window" should have type
<code class="literal">gtk.WINDOW_TOPLEVEL</code>; windows with this type are managed
by the window manager and have a frame by default (call the <a class="link" href="class-gtkwindow.html#method-gtkwindow--set-decorated" title="gtk.Window.set_decorated"><code class="methodname">set_decorated</code>()</a>
method to toggle the frame). Windows with type
<code class="literal">gtk.WINDOW_POPUP</code> 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). <code class="literal">gtk.WINDOW_POPUP</code> is used to
implement widgets such as <a class="link" href="class-gtkmenu.html" title="gtk.Menu"><code class="classname">gtk.Menu</code></a> or tooltips
that you normally don't think of as windows per se. Nearly all windows
should be <code class="literal">gtk.WINDOW_TOPLEVEL</code>. In particular, do not use
<code class="literal">gtk.WINDOW_POPUP</code> just to turn off the window borders; use
the <a class="link" href="class-gtkwindow.html#method-gtkwindow--set-decorated" title="gtk.Window.set_decorated"><code class="methodname">gtk.Window.set_decorated</code>()</a>
method for that.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.WINDOW_TOPLEVEL</code></span></p></td><td>A regular window, such as a dialog.</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WINDOW_POPUP</code></span></p></td><td>A special window such as a tooltip.</td></tr></tbody></table></div><div class="refsect2" title="GTK Wrap Mode Constants"><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 class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.</p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">gtk.WRAP_NONE</code></span></p></td><td>Do not wrap lines - just make the text area
wider</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WRAP_CHAR</code></span></p></td><td>Wrap text, breaking lines anywhere the cursor can
appear (usually between characters)</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WRAP_WORD</code></span></p></td><td>Wrap text, breaking lines in between words</td></tr><tr><td><p><span class="term"><code class="literal">gtk.WRAP_WORD_CHAR</code></span></p></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>