~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to gtk/gtkenums.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GTK - The GIMP Toolkit
 
2
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library; if not, write to the
 
16
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
 * Boston, MA 02111-1307, USA.
 
18
 */
 
19
 
 
20
/*
 
21
 * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
 
22
 * file for a list of people on the GTK+ Team.  See the ChangeLog
 
23
 * files for a list of changes.  These files are distributed with
 
24
 * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
 
25
 */
 
26
 
 
27
#ifndef __GTK_ENUMS_H__
 
28
#define __GTK_ENUMS_H__
 
29
 
 
30
#include <glib-object.h>
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
/* Anchor types */
 
35
typedef enum
 
36
{
 
37
  GTK_ANCHOR_CENTER,
 
38
  GTK_ANCHOR_NORTH,
 
39
  GTK_ANCHOR_NORTH_WEST,
 
40
  GTK_ANCHOR_NORTH_EAST,
 
41
  GTK_ANCHOR_SOUTH,
 
42
  GTK_ANCHOR_SOUTH_WEST,
 
43
  GTK_ANCHOR_SOUTH_EAST,
 
44
  GTK_ANCHOR_WEST,
 
45
  GTK_ANCHOR_EAST,
 
46
  GTK_ANCHOR_N          = GTK_ANCHOR_NORTH,
 
47
  GTK_ANCHOR_NW         = GTK_ANCHOR_NORTH_WEST,
 
48
  GTK_ANCHOR_NE         = GTK_ANCHOR_NORTH_EAST,
 
49
  GTK_ANCHOR_S          = GTK_ANCHOR_SOUTH,
 
50
  GTK_ANCHOR_SW         = GTK_ANCHOR_SOUTH_WEST,
 
51
  GTK_ANCHOR_SE         = GTK_ANCHOR_SOUTH_EAST,
 
52
  GTK_ANCHOR_W          = GTK_ANCHOR_WEST,
 
53
  GTK_ANCHOR_E          = GTK_ANCHOR_EAST
 
54
} GtkAnchorType;
 
55
 
 
56
/* Arrow types */
 
57
typedef enum
 
58
{
 
59
  GTK_ARROW_UP,
 
60
  GTK_ARROW_DOWN,
 
61
  GTK_ARROW_LEFT,
 
62
  GTK_ARROW_RIGHT,
 
63
  GTK_ARROW_NONE
 
64
} GtkArrowType;
 
65
 
 
66
/* Attach options (for tables) */
 
67
typedef enum
 
68
{
 
69
  GTK_EXPAND = 1 << 0,
 
70
  GTK_SHRINK = 1 << 1,
 
71
  GTK_FILL   = 1 << 2
 
72
} GtkAttachOptions;
 
73
 
 
74
/* Button box styles */
 
75
typedef enum 
 
76
{
 
77
  GTK_BUTTONBOX_DEFAULT_STYLE,
 
78
  GTK_BUTTONBOX_SPREAD,
 
79
  GTK_BUTTONBOX_EDGE,
 
80
  GTK_BUTTONBOX_START,
 
81
  GTK_BUTTONBOX_END
 
82
} GtkButtonBoxStyle;
 
83
 
 
84
/* Curve types */
 
85
typedef enum
 
86
{
 
87
  GTK_CURVE_TYPE_LINEAR,       /* linear interpolation */
 
88
  GTK_CURVE_TYPE_SPLINE,       /* spline interpolation */
 
89
  GTK_CURVE_TYPE_FREE          /* free form curve */
 
90
} GtkCurveType;
 
91
 
 
92
typedef enum {
 
93
  GTK_DELETE_CHARS,
 
94
  GTK_DELETE_WORD_ENDS,           /* delete only the portion of the word to the
 
95
                                   * left/right of cursor if we're in the middle
 
96
                                   * of a word */
 
97
  GTK_DELETE_WORDS,
 
98
  GTK_DELETE_DISPLAY_LINES,
 
99
  GTK_DELETE_DISPLAY_LINE_ENDS,
 
100
  GTK_DELETE_PARAGRAPH_ENDS,      /* like C-k in Emacs (or its reverse) */
 
101
  GTK_DELETE_PARAGRAPHS,          /* C-k in pico, kill whole line */
 
102
  GTK_DELETE_WHITESPACE           /* M-\ in Emacs */
 
103
} GtkDeleteType;
 
104
 
 
105
/* Focus movement types */
 
106
typedef enum
 
107
{
 
108
  GTK_DIR_TAB_FORWARD,
 
109
  GTK_DIR_TAB_BACKWARD,
 
110
  GTK_DIR_UP,
 
111
  GTK_DIR_DOWN,
 
112
  GTK_DIR_LEFT,
 
113
  GTK_DIR_RIGHT
 
114
} GtkDirectionType;
 
115
 
 
116
/* Expander styles */
 
117
typedef enum
 
118
{
 
119
  GTK_EXPANDER_COLLAPSED,
 
120
  GTK_EXPANDER_SEMI_COLLAPSED,
 
121
  GTK_EXPANDER_SEMI_EXPANDED,
 
122
  GTK_EXPANDER_EXPANDED
 
123
} GtkExpanderStyle;
 
124
 
 
125
/* Built-in stock icon sizes */
 
126
typedef enum
 
127
{
 
128
  GTK_ICON_SIZE_INVALID,
 
129
  GTK_ICON_SIZE_MENU,
 
130
  GTK_ICON_SIZE_SMALL_TOOLBAR,
 
131
  GTK_ICON_SIZE_LARGE_TOOLBAR,
 
132
  GTK_ICON_SIZE_BUTTON,
 
133
  GTK_ICON_SIZE_DND,
 
134
  GTK_ICON_SIZE_DIALOG
 
135
} GtkIconSize;
 
136
 
 
137
/* automatic sensitivity */
 
138
typedef enum
 
139
{
 
140
  GTK_SENSITIVITY_AUTO,
 
141
  GTK_SENSITIVITY_ON,
 
142
  GTK_SENSITIVITY_OFF
 
143
} GtkSensitivityType;
 
144
 
 
145
#ifndef GTK_DISABLE_DEPRECATED
 
146
/* side types */
 
147
typedef enum
 
148
{
 
149
  GTK_SIDE_TOP,
 
150
  GTK_SIDE_BOTTOM,
 
151
  GTK_SIDE_LEFT,
 
152
  GTK_SIDE_RIGHT
 
153
} GtkSideType;
 
154
#endif /* GTK_DISABLE_DEPRECATED */
 
155
 
 
156
/* Reading directions for text */
 
157
typedef enum
 
158
{
 
159
  GTK_TEXT_DIR_NONE,
 
160
  GTK_TEXT_DIR_LTR,
 
161
  GTK_TEXT_DIR_RTL
 
162
} GtkTextDirection;
 
163
 
 
164
/* justification for label and maybe other widgets (text?) */
 
165
typedef enum
 
166
{
 
167
  GTK_JUSTIFY_LEFT,
 
168
  GTK_JUSTIFY_RIGHT,
 
169
  GTK_JUSTIFY_CENTER,
 
170
  GTK_JUSTIFY_FILL
 
171
} GtkJustification;
 
172
 
 
173
#ifndef GTK_DISABLE_DEPRECATED
 
174
/* GtkPatternSpec match types */
 
175
typedef enum
 
176
{
 
177
  GTK_MATCH_ALL,       /* "*A?A*" */
 
178
  GTK_MATCH_ALL_TAIL,  /* "*A?AA" */
 
179
  GTK_MATCH_HEAD,      /* "AAAA*" */
 
180
  GTK_MATCH_TAIL,      /* "*AAAA" */
 
181
  GTK_MATCH_EXACT,     /* "AAAAA" */
 
182
  GTK_MATCH_LAST
 
183
} GtkMatchType;
 
184
#endif /* GTK_DISABLE_DEPRECATED */
 
185
 
 
186
/* Menu keyboard movement types */
 
187
typedef enum
 
188
{
 
189
  GTK_MENU_DIR_PARENT,
 
190
  GTK_MENU_DIR_CHILD,
 
191
  GTK_MENU_DIR_NEXT,
 
192
  GTK_MENU_DIR_PREV
 
193
} GtkMenuDirectionType;
 
194
 
 
195
typedef enum
 
196
{
 
197
  GTK_PIXELS,
 
198
  GTK_INCHES,
 
199
  GTK_CENTIMETERS
 
200
} GtkMetricType;
 
201
 
 
202
typedef enum 
 
203
{
 
204
  GTK_MOVEMENT_LOGICAL_POSITIONS, /* move by forw/back graphemes */
 
205
  GTK_MOVEMENT_VISUAL_POSITIONS,  /* move by left/right graphemes */
 
206
  GTK_MOVEMENT_WORDS,             /* move by forward/back words */
 
207
  GTK_MOVEMENT_DISPLAY_LINES,     /* move up/down lines (wrapped lines) */
 
208
  GTK_MOVEMENT_DISPLAY_LINE_ENDS, /* move up/down lines (wrapped lines) */
 
209
  GTK_MOVEMENT_PARAGRAPHS,        /* move up/down paragraphs (newline-ended lines) */
 
210
  GTK_MOVEMENT_PARAGRAPH_ENDS,    /* move to either end of a paragraph */
 
211
  GTK_MOVEMENT_PAGES,             /* move by pages */
 
212
  GTK_MOVEMENT_BUFFER_ENDS,       /* move to ends of the buffer */
 
213
  GTK_MOVEMENT_HORIZONTAL_PAGES   /* move horizontally by pages */
 
214
} GtkMovementStep;
 
215
 
 
216
typedef enum 
 
217
{
 
218
  GTK_SCROLL_STEPS,
 
219
  GTK_SCROLL_PAGES,
 
220
  GTK_SCROLL_ENDS,
 
221
  GTK_SCROLL_HORIZONTAL_STEPS,
 
222
  GTK_SCROLL_HORIZONTAL_PAGES,
 
223
  GTK_SCROLL_HORIZONTAL_ENDS
 
224
} GtkScrollStep;
 
225
 
 
226
/* Orientation for toolbars, etc. */
 
227
typedef enum
 
228
{
 
229
  GTK_ORIENTATION_HORIZONTAL,
 
230
  GTK_ORIENTATION_VERTICAL
 
231
} GtkOrientation;
 
232
 
 
233
/* Placement type for scrolled window */
 
234
typedef enum
 
235
{
 
236
  GTK_CORNER_TOP_LEFT,
 
237
  GTK_CORNER_BOTTOM_LEFT,
 
238
  GTK_CORNER_TOP_RIGHT,
 
239
  GTK_CORNER_BOTTOM_RIGHT
 
240
} GtkCornerType;
 
241
 
 
242
/* Packing types (for boxes) */
 
243
typedef enum
 
244
{
 
245
  GTK_PACK_START,
 
246
  GTK_PACK_END
 
247
} GtkPackType;
 
248
 
 
249
/* priorities for path lookups */
 
250
typedef enum
 
251
{
 
252
  GTK_PATH_PRIO_LOWEST      = 0,
 
253
  GTK_PATH_PRIO_GTK         = 4,
 
254
  GTK_PATH_PRIO_APPLICATION = 8,
 
255
  GTK_PATH_PRIO_THEME       = 10,
 
256
  GTK_PATH_PRIO_RC          = 12,
 
257
  GTK_PATH_PRIO_HIGHEST     = 15
 
258
} GtkPathPriorityType;
 
259
#define GTK_PATH_PRIO_MASK 0x0f
 
260
 
 
261
/* widget path types */
 
262
typedef enum
 
263
{
 
264
  GTK_PATH_WIDGET,
 
265
  GTK_PATH_WIDGET_CLASS,
 
266
  GTK_PATH_CLASS
 
267
} GtkPathType;
 
268
 
 
269
/* Scrollbar policy types (for scrolled windows) */
 
270
typedef enum
 
271
{
 
272
  GTK_POLICY_ALWAYS,
 
273
  GTK_POLICY_AUTOMATIC,
 
274
  GTK_POLICY_NEVER
 
275
} GtkPolicyType;
 
276
 
 
277
typedef enum
 
278
{
 
279
  GTK_POS_LEFT,
 
280
  GTK_POS_RIGHT,
 
281
  GTK_POS_TOP,
 
282
  GTK_POS_BOTTOM
 
283
} GtkPositionType;
 
284
 
 
285
#ifndef GTK_DISABLE_DEPRECATED
 
286
typedef enum
 
287
{
 
288
  GTK_PREVIEW_COLOR,
 
289
  GTK_PREVIEW_GRAYSCALE
 
290
} GtkPreviewType;
 
291
#endif /* GTK_DISABLE_DEPRECATED */
 
292
 
 
293
/* Style for buttons */
 
294
typedef enum
 
295
{
 
296
  GTK_RELIEF_NORMAL,
 
297
  GTK_RELIEF_HALF,
 
298
  GTK_RELIEF_NONE
 
299
} GtkReliefStyle;
 
300
 
 
301
/* Resize type */
 
302
typedef enum
 
303
{
 
304
  GTK_RESIZE_PARENT,            /* Pass resize request to the parent */
 
305
  GTK_RESIZE_QUEUE,             /* Queue resizes on this widget */
 
306
  GTK_RESIZE_IMMEDIATE          /* Perform the resizes now */
 
307
} GtkResizeMode;
 
308
 
 
309
#ifndef GTK_DISABLE_DEPRECATED
 
310
/* signal run types */
 
311
typedef enum                    /*< flags >*/
 
312
{
 
313
  GTK_RUN_FIRST      = G_SIGNAL_RUN_FIRST,
 
314
  GTK_RUN_LAST       = G_SIGNAL_RUN_LAST,
 
315
  GTK_RUN_BOTH       = (GTK_RUN_FIRST | GTK_RUN_LAST),
 
316
  GTK_RUN_NO_RECURSE = G_SIGNAL_NO_RECURSE,
 
317
  GTK_RUN_ACTION     = G_SIGNAL_ACTION,
 
318
  GTK_RUN_NO_HOOKS   = G_SIGNAL_NO_HOOKS
 
319
} GtkSignalRunType;
 
320
#endif /* GTK_DISABLE_DEPRECATED */
 
321
 
 
322
/* scrolling types */
 
323
typedef enum
 
324
{
 
325
  GTK_SCROLL_NONE,
 
326
  GTK_SCROLL_JUMP,
 
327
  GTK_SCROLL_STEP_BACKWARD,
 
328
  GTK_SCROLL_STEP_FORWARD,
 
329
  GTK_SCROLL_PAGE_BACKWARD,
 
330
  GTK_SCROLL_PAGE_FORWARD,
 
331
  GTK_SCROLL_STEP_UP,
 
332
  GTK_SCROLL_STEP_DOWN,
 
333
  GTK_SCROLL_PAGE_UP,
 
334
  GTK_SCROLL_PAGE_DOWN,
 
335
  GTK_SCROLL_STEP_LEFT,
 
336
  GTK_SCROLL_STEP_RIGHT,
 
337
  GTK_SCROLL_PAGE_LEFT,
 
338
  GTK_SCROLL_PAGE_RIGHT,
 
339
  GTK_SCROLL_START,
 
340
  GTK_SCROLL_END
 
341
} GtkScrollType;
 
342
 
 
343
/* list selection modes */
 
344
typedef enum
 
345
{
 
346
  GTK_SELECTION_NONE,                             /* Nothing can be selected */
 
347
  GTK_SELECTION_SINGLE,
 
348
  GTK_SELECTION_BROWSE,
 
349
  GTK_SELECTION_MULTIPLE,
 
350
  GTK_SELECTION_EXTENDED = GTK_SELECTION_MULTIPLE /* Deprecated */
 
351
} GtkSelectionMode;
 
352
 
 
353
/* Shadow types */
 
354
typedef enum
 
355
{
 
356
  GTK_SHADOW_NONE,
 
357
  GTK_SHADOW_IN,
 
358
  GTK_SHADOW_OUT,
 
359
  GTK_SHADOW_ETCHED_IN,
 
360
  GTK_SHADOW_ETCHED_OUT
 
361
} GtkShadowType;
 
362
 
 
363
/* Widget states */
 
364
typedef enum
 
365
{
 
366
  GTK_STATE_NORMAL,
 
367
  GTK_STATE_ACTIVE,
 
368
  GTK_STATE_PRELIGHT,
 
369
  GTK_STATE_SELECTED,
 
370
  GTK_STATE_INSENSITIVE
 
371
} GtkStateType;
 
372
 
 
373
#if !defined(GTK_DISABLE_DEPRECATED) || defined (GTK_MENU_INTERNALS)
 
374
/* Directions for submenus */
 
375
typedef enum
 
376
{
 
377
  GTK_DIRECTION_LEFT,
 
378
  GTK_DIRECTION_RIGHT
 
379
} GtkSubmenuDirection;
 
380
 
 
381
/* Placement of submenus */
 
382
typedef enum
 
383
{
 
384
  GTK_TOP_BOTTOM,
 
385
  GTK_LEFT_RIGHT
 
386
} GtkSubmenuPlacement;
 
387
#endif /* GTK_DISABLE_DEPRECATED */
 
388
 
 
389
/* Style for toolbars */
 
390
typedef enum
 
391
{
 
392
  GTK_TOOLBAR_ICONS,
 
393
  GTK_TOOLBAR_TEXT,
 
394
  GTK_TOOLBAR_BOTH,
 
395
  GTK_TOOLBAR_BOTH_HORIZ
 
396
} GtkToolbarStyle;
 
397
 
 
398
/* Data update types (for ranges) */
 
399
typedef enum
 
400
{
 
401
  GTK_UPDATE_CONTINUOUS,
 
402
  GTK_UPDATE_DISCONTINUOUS,
 
403
  GTK_UPDATE_DELAYED
 
404
} GtkUpdateType;
 
405
 
 
406
/* Generic visibility flags */
 
407
typedef enum
 
408
{
 
409
  GTK_VISIBILITY_NONE,
 
410
  GTK_VISIBILITY_PARTIAL,
 
411
  GTK_VISIBILITY_FULL
 
412
} GtkVisibility;
 
413
 
 
414
/* Window position types */
 
415
typedef enum
 
416
{
 
417
  GTK_WIN_POS_NONE,
 
418
  GTK_WIN_POS_CENTER,
 
419
  GTK_WIN_POS_MOUSE,
 
420
  GTK_WIN_POS_CENTER_ALWAYS,
 
421
  GTK_WIN_POS_CENTER_ON_PARENT
 
422
} GtkWindowPosition;
 
423
 
 
424
/* Window types */
 
425
typedef enum
 
426
{
 
427
  GTK_WINDOW_TOPLEVEL,
 
428
  GTK_WINDOW_POPUP
 
429
} GtkWindowType;
 
430
 
 
431
/* Text wrap */
 
432
typedef enum
 
433
{
 
434
  GTK_WRAP_NONE,
 
435
  GTK_WRAP_CHAR,
 
436
  GTK_WRAP_WORD,
 
437
  GTK_WRAP_WORD_CHAR
 
438
} GtkWrapMode;
 
439
 
 
440
/* How to sort */
 
441
typedef enum
 
442
{
 
443
  GTK_SORT_ASCENDING,
 
444
  GTK_SORT_DESCENDING
 
445
} GtkSortType;
 
446
 
 
447
/* Style for gtk input method preedit/status */
 
448
typedef enum
 
449
{
 
450
  GTK_IM_PREEDIT_NOTHING,
 
451
  GTK_IM_PREEDIT_CALLBACK,
 
452
  GTK_IM_PREEDIT_NONE
 
453
} GtkIMPreeditStyle;
 
454
 
 
455
typedef enum
 
456
{
 
457
  GTK_IM_STATUS_NOTHING,
 
458
  GTK_IM_STATUS_CALLBACK,
 
459
  GTK_IM_STATUS_NONE
 
460
} GtkIMStatusStyle;
 
461
 
 
462
typedef enum
 
463
{
 
464
  GTK_PACK_DIRECTION_LTR,
 
465
  GTK_PACK_DIRECTION_RTL,
 
466
  GTK_PACK_DIRECTION_TTB,
 
467
  GTK_PACK_DIRECTION_BTT
 
468
} GtkPackDirection;
 
469
 
 
470
typedef enum {
 
471
  GTK_PRINT_PAGES_ALL,
 
472
  GTK_PRINT_PAGES_CURRENT,
 
473
  GTK_PRINT_PAGES_RANGES
 
474
} GtkPrintPages;
 
475
 
 
476
typedef enum {
 
477
  GTK_PAGE_SET_ALL,
 
478
  GTK_PAGE_SET_EVEN,
 
479
  GTK_PAGE_SET_ODD
 
480
} GtkPageSet;
 
481
 
 
482
typedef enum {
 
483
  GTK_PAGE_ORIENTATION_PORTRAIT,
 
484
  GTK_PAGE_ORIENTATION_LANDSCAPE,
 
485
  GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT,
 
486
  GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
 
487
} GtkPageOrientation;
 
488
 
 
489
typedef enum {
 
490
  GTK_PRINT_QUALITY_LOW,
 
491
  GTK_PRINT_QUALITY_NORMAL,
 
492
  GTK_PRINT_QUALITY_HIGH,
 
493
  GTK_PRINT_QUALITY_DRAFT
 
494
} GtkPrintQuality;
 
495
 
 
496
typedef enum {
 
497
  GTK_PRINT_DUPLEX_SIMPLEX,
 
498
  GTK_PRINT_DUPLEX_HORIZONTAL,
 
499
  GTK_PRINT_DUPLEX_VERTICAL
 
500
} GtkPrintDuplex;
 
501
 
 
502
 
 
503
typedef enum {
 
504
  GTK_UNIT_PIXEL,
 
505
  GTK_UNIT_POINTS,
 
506
  GTK_UNIT_INCH,
 
507
  GTK_UNIT_MM
 
508
} GtkUnit;
 
509
 
 
510
typedef enum {
 
511
  GTK_TREE_VIEW_GRID_LINES_NONE,
 
512
  GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
 
513
  GTK_TREE_VIEW_GRID_LINES_VERTICAL,
 
514
  GTK_TREE_VIEW_GRID_LINES_BOTH
 
515
} GtkTreeViewGridLines;
 
516
 
 
517
G_END_DECLS
 
518
 
 
519
#endif /* __GTK_ENUMS_H__ */