]> Pileus Git - ~andy/gtk/blob - gtk/gtkenums.h
Remove GTK_REGION_DEFAULT
[~andy/gtk] / gtk / gtkenums.h
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 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
28 #error "Only <gtk/gtk.h> can be included directly."
29 #endif
30
31 #ifndef __GTK_ENUMS_H__
32 #define __GTK_ENUMS_H__
33
34 #include <glib-object.h>
35
36 G_BEGIN_DECLS
37
38 /**
39  * GtkAlign:
40  * @GTK_ALIGN_FILL: stretch to fill all space if possible, center if
41  *     no meaningful way to stretch
42  * @GTK_ALIGN_START: snap to left or top side, leaving space on right
43  *     or bottom
44  * @GTK_ALIGN_END: snap to right or bottom side, leaving space on left
45  *     or top
46  * @GTK_ALIGN_CENTER: center natural width of widget inside the
47  *     allocation
48  *
49  * Controls how a widget deals with extra space in a single (x or y)
50  * dimension.
51  *
52  * Alignment only matters if the widget receives a "too large" allocation,
53  * for example if you packed the widget with the #GtkWidget:expand
54  * flag inside a #GtkBox, then the widget might get extra space.  If
55  * you have for example a 16x16 icon inside a 32x32 space, the icon
56  * could be scaled and stretched, it could be centered, or it could be
57  * positioned to one side of the space.
58  */
59 typedef enum
60 {
61   GTK_ALIGN_FILL,
62   GTK_ALIGN_START,
63   GTK_ALIGN_END,
64   GTK_ALIGN_CENTER
65 } GtkAlign;
66
67 /* Arrow placement */
68 typedef enum
69 {
70   GTK_ARROWS_BOTH,
71   GTK_ARROWS_START,
72   GTK_ARROWS_END
73 } GtkArrowPlacement;
74
75 /* Arrow types */
76 typedef enum
77 {
78   GTK_ARROW_UP,
79   GTK_ARROW_DOWN,
80   GTK_ARROW_LEFT,
81   GTK_ARROW_RIGHT,
82   GTK_ARROW_NONE
83 } GtkArrowType;
84
85 /* Attach options (for tables) */
86 typedef enum
87 {
88   GTK_EXPAND = 1 << 0,
89   GTK_SHRINK = 1 << 1,
90   GTK_FILL   = 1 << 2
91 } GtkAttachOptions;
92
93 /* Button box styles */
94 typedef enum
95 {
96   GTK_BUTTONBOX_SPREAD = 1,
97   GTK_BUTTONBOX_EDGE,
98   GTK_BUTTONBOX_START,
99   GTK_BUTTONBOX_END,
100   GTK_BUTTONBOX_CENTER
101 } GtkButtonBoxStyle;
102
103 typedef enum
104 {
105   GTK_DELETE_CHARS,
106   GTK_DELETE_WORD_ENDS,           /* delete only the portion of the word to the
107                                    * left/right of cursor if we're in the middle
108                                    * of a word */
109   GTK_DELETE_WORDS,
110   GTK_DELETE_DISPLAY_LINES,
111   GTK_DELETE_DISPLAY_LINE_ENDS,
112   GTK_DELETE_PARAGRAPH_ENDS,      /* like C-k in Emacs (or its reverse) */
113   GTK_DELETE_PARAGRAPHS,          /* C-k in pico, kill whole line */
114   GTK_DELETE_WHITESPACE           /* M-\ in Emacs */
115 } GtkDeleteType;
116
117 /* Focus movement types */
118 typedef enum
119 {
120   GTK_DIR_TAB_FORWARD,
121   GTK_DIR_TAB_BACKWARD,
122   GTK_DIR_UP,
123   GTK_DIR_DOWN,
124   GTK_DIR_LEFT,
125   GTK_DIR_RIGHT
126 } GtkDirectionType;
127
128 /* Expander styles */
129 typedef enum
130 {
131   GTK_EXPANDER_COLLAPSED,
132   GTK_EXPANDER_SEMI_COLLAPSED,
133   GTK_EXPANDER_SEMI_EXPANDED,
134   GTK_EXPANDER_EXPANDED
135 } GtkExpanderStyle;
136
137 /* Built-in stock icon sizes */
138 typedef enum
139 {
140   GTK_ICON_SIZE_INVALID,
141   GTK_ICON_SIZE_MENU,
142   GTK_ICON_SIZE_SMALL_TOOLBAR,
143   GTK_ICON_SIZE_LARGE_TOOLBAR,
144   GTK_ICON_SIZE_BUTTON,
145   GTK_ICON_SIZE_DND,
146   GTK_ICON_SIZE_DIALOG
147 } GtkIconSize;
148
149 /**
150  * GtkSensitivityType:
151  * @GTK_SENSITIVITY_AUTO: The arrow is made insensitive if the
152  *   thumb is at the end
153  * @GTK_SENSITIVITY_ON: The arrow is always sensitive
154  * @GTK_SENSITIVITY_OFF: The arrow is always insensitive
155  *
156  * Determines how GTK+ handles the sensitivity of stepper arrows
157  * at the end of range widgets.
158  */
159 typedef enum
160 {
161   GTK_SENSITIVITY_AUTO,
162   GTK_SENSITIVITY_ON,
163   GTK_SENSITIVITY_OFF
164 } GtkSensitivityType;
165
166 /* Reading directions for text */
167 typedef enum
168 {
169   GTK_TEXT_DIR_NONE,
170   GTK_TEXT_DIR_LTR,
171   GTK_TEXT_DIR_RTL
172 } GtkTextDirection;
173
174 /* justification for label and maybe other widgets (text?) */
175 typedef enum
176 {
177   GTK_JUSTIFY_LEFT,
178   GTK_JUSTIFY_RIGHT,
179   GTK_JUSTIFY_CENTER,
180   GTK_JUSTIFY_FILL
181 } GtkJustification;
182
183 /* Menu keyboard movement types */
184 typedef enum
185 {
186   GTK_MENU_DIR_PARENT,
187   GTK_MENU_DIR_CHILD,
188   GTK_MENU_DIR_NEXT,
189   GTK_MENU_DIR_PREV
190 } GtkMenuDirectionType;
191
192 /**
193  * GtkMessageType:
194  * @GTK_MESSAGE_INFO: Informational message
195  * @GTK_MESSAGE_WARNING: Nonfatal warning message
196  * @GTK_MESSAGE_QUESTION: Question requiring a choice
197  * @GTK_MESSAGE_ERROR: Fatal error message
198  * @GTK_MESSAGE_OTHER: None of the above, doesn't get an icon
199  *
200  * The type of message being displayed in the dialog.
201  */
202 typedef enum
203 {
204   GTK_MESSAGE_INFO,
205   GTK_MESSAGE_WARNING,
206   GTK_MESSAGE_QUESTION,
207   GTK_MESSAGE_ERROR,
208   GTK_MESSAGE_OTHER
209 } GtkMessageType;
210
211 /**
212  * GtkMovementStep:
213  * @GTK_MOVEMENT_LOGICAL_POSITIONS: Move forward or back by graphemes
214  * @GTK_MOVEMENT_VISUAL_POSITIONS:  Move left or right by graphemes
215  * @GTK_MOVEMENT_WORDS:             Move forward or back by words
216  * @GTK_MOVEMENT_DISPLAY_LINES:     Move up or down lines (wrapped lines)
217  * @GTK_MOVEMENT_DISPLAY_LINE_ENDS: Move to either end of a line
218  * @GTK_MOVEMENT_PARAGRAPHS:        Move up or down paragraphs (newline-ended lines)
219  * @GTK_MOVEMENT_PARAGRAPH_ENDS:    Move to either end of a paragraph
220  * @GTK_MOVEMENT_PAGES:             Move by pages
221  * @GTK_MOVEMENT_BUFFER_ENDS:       Move to ends of the buffer
222  * @GTK_MOVEMENT_HORIZONTAL_PAGES:  Move horizontally by pages
223  */
224 typedef enum
225 {
226   GTK_MOVEMENT_LOGICAL_POSITIONS,
227   GTK_MOVEMENT_VISUAL_POSITIONS,
228   GTK_MOVEMENT_WORDS,
229   GTK_MOVEMENT_DISPLAY_LINES,
230   GTK_MOVEMENT_DISPLAY_LINE_ENDS,
231   GTK_MOVEMENT_PARAGRAPHS,
232   GTK_MOVEMENT_PARAGRAPH_ENDS,
233   GTK_MOVEMENT_PAGES,
234   GTK_MOVEMENT_BUFFER_ENDS,
235   GTK_MOVEMENT_HORIZONTAL_PAGES
236 } GtkMovementStep;
237
238 typedef enum
239 {
240   GTK_SCROLL_STEPS,
241   GTK_SCROLL_PAGES,
242   GTK_SCROLL_ENDS,
243   GTK_SCROLL_HORIZONTAL_STEPS,
244   GTK_SCROLL_HORIZONTAL_PAGES,
245   GTK_SCROLL_HORIZONTAL_ENDS
246 } GtkScrollStep;
247
248 /* Orientation for toolbars, etc. */
249 typedef enum
250 {
251   GTK_ORIENTATION_HORIZONTAL,
252   GTK_ORIENTATION_VERTICAL
253 } GtkOrientation;
254
255 /* Placement type for scrolled window */
256 typedef enum
257 {
258   GTK_CORNER_TOP_LEFT,
259   GTK_CORNER_BOTTOM_LEFT,
260   GTK_CORNER_TOP_RIGHT,
261   GTK_CORNER_BOTTOM_RIGHT
262 } GtkCornerType;
263
264 /* Packing types (for boxes) */
265 typedef enum
266 {
267   GTK_PACK_START,
268   GTK_PACK_END
269 } GtkPackType;
270
271 /* priorities for path lookups */
272 typedef enum
273 {
274   GTK_PATH_PRIO_LOWEST      = 0,
275   GTK_PATH_PRIO_GTK         = 4,
276   GTK_PATH_PRIO_APPLICATION = 8,
277   GTK_PATH_PRIO_THEME       = 10,
278   GTK_PATH_PRIO_RC          = 12,
279   GTK_PATH_PRIO_HIGHEST     = 15
280 } GtkPathPriorityType;
281 #define GTK_PATH_PRIO_MASK 0x0f
282
283 /* widget path types */
284 typedef enum
285 {
286   GTK_PATH_WIDGET,
287   GTK_PATH_WIDGET_CLASS,
288   GTK_PATH_CLASS
289 } GtkPathType;
290
291 /* Scrollbar policy types (for scrolled windows) */
292 typedef enum
293 {
294   GTK_POLICY_ALWAYS,
295   GTK_POLICY_AUTOMATIC,
296   GTK_POLICY_NEVER
297 } GtkPolicyType;
298
299 typedef enum
300 {
301   GTK_POS_LEFT,
302   GTK_POS_RIGHT,
303   GTK_POS_TOP,
304   GTK_POS_BOTTOM
305 } GtkPositionType;
306
307 /* Style for buttons */
308 typedef enum
309 {
310   GTK_RELIEF_NORMAL,
311   GTK_RELIEF_HALF,
312   GTK_RELIEF_NONE
313 } GtkReliefStyle;
314
315 /* Resize type */
316 typedef enum
317 {
318   GTK_RESIZE_PARENT,            /* Pass resize request to the parent */
319   GTK_RESIZE_QUEUE,             /* Queue resizes on this widget */
320   GTK_RESIZE_IMMEDIATE          /* Perform the resizes now */
321 } GtkResizeMode;
322
323 /* scrolling types */
324 typedef enum
325 {
326   GTK_SCROLL_NONE,
327   GTK_SCROLL_JUMP,
328   GTK_SCROLL_STEP_BACKWARD,
329   GTK_SCROLL_STEP_FORWARD,
330   GTK_SCROLL_PAGE_BACKWARD,
331   GTK_SCROLL_PAGE_FORWARD,
332   GTK_SCROLL_STEP_UP,
333   GTK_SCROLL_STEP_DOWN,
334   GTK_SCROLL_PAGE_UP,
335   GTK_SCROLL_PAGE_DOWN,
336   GTK_SCROLL_STEP_LEFT,
337   GTK_SCROLL_STEP_RIGHT,
338   GTK_SCROLL_PAGE_LEFT,
339   GTK_SCROLL_PAGE_RIGHT,
340   GTK_SCROLL_START,
341   GTK_SCROLL_END
342 } GtkScrollType;
343
344 /* list selection modes */
345 typedef enum
346 {
347   GTK_SELECTION_NONE,                             /* Nothing can be selected */
348   GTK_SELECTION_SINGLE,
349   GTK_SELECTION_BROWSE,
350   GTK_SELECTION_MULTIPLE
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   GTK_STATE_INCONSISTENT,
372   GTK_STATE_FOCUSED,
373   GTK_STATE_LAST
374 } GtkStateType;
375
376 /* Style for toolbars */
377 typedef enum
378 {
379   GTK_TOOLBAR_ICONS,
380   GTK_TOOLBAR_TEXT,
381   GTK_TOOLBAR_BOTH,
382   GTK_TOOLBAR_BOTH_HORIZ
383 } GtkToolbarStyle;
384
385 /* Data update types (for ranges) */
386 typedef enum
387 {
388   GTK_UPDATE_CONTINUOUS,
389   GTK_UPDATE_DISCONTINUOUS,
390   GTK_UPDATE_DELAYED
391 } GtkUpdateType;
392
393 /* Window position types */
394 typedef enum
395 {
396   GTK_WIN_POS_NONE,
397   GTK_WIN_POS_CENTER,
398   GTK_WIN_POS_MOUSE,
399   GTK_WIN_POS_CENTER_ALWAYS,
400   GTK_WIN_POS_CENTER_ON_PARENT
401 } GtkWindowPosition;
402
403 /* Window types */
404 typedef enum
405 {
406   GTK_WINDOW_TOPLEVEL,
407   GTK_WINDOW_POPUP
408 } GtkWindowType;
409
410 /* Text wrap */
411 typedef enum
412 {
413   GTK_WRAP_NONE,
414   GTK_WRAP_CHAR,
415   GTK_WRAP_WORD,
416   GTK_WRAP_WORD_CHAR
417 } GtkWrapMode;
418
419 /* How to sort */
420 typedef enum
421 {
422   GTK_SORT_ASCENDING,
423   GTK_SORT_DESCENDING
424 } GtkSortType;
425
426 /* Style for gtk input method preedit/status */
427 typedef enum
428 {
429   GTK_IM_PREEDIT_NOTHING,
430   GTK_IM_PREEDIT_CALLBACK,
431   GTK_IM_PREEDIT_NONE
432 } GtkIMPreeditStyle;
433
434 typedef enum
435 {
436   GTK_IM_STATUS_NOTHING,
437   GTK_IM_STATUS_CALLBACK,
438   GTK_IM_STATUS_NONE
439 } GtkIMStatusStyle;
440
441 typedef enum
442 {
443   GTK_PACK_DIRECTION_LTR,
444   GTK_PACK_DIRECTION_RTL,
445   GTK_PACK_DIRECTION_TTB,
446   GTK_PACK_DIRECTION_BTT
447 } GtkPackDirection;
448
449 typedef enum
450 {
451   GTK_PRINT_PAGES_ALL,
452   GTK_PRINT_PAGES_CURRENT,
453   GTK_PRINT_PAGES_RANGES,
454   GTK_PRINT_PAGES_SELECTION
455 } GtkPrintPages;
456
457 typedef enum
458 {
459   GTK_PAGE_SET_ALL,
460   GTK_PAGE_SET_EVEN,
461   GTK_PAGE_SET_ODD
462 } GtkPageSet;
463
464 typedef enum
465 {
466   GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM, /*< nick=lrtb >*/
467   GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP, /*< nick=lrbt >*/
468   GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM, /*< nick=rltb >*/
469   GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP, /*< nick=rlbt >*/
470   GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT, /*< nick=tblr >*/
471   GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT, /*< nick=tbrl >*/
472   GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT, /*< nick=btlr >*/
473   GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT  /*< nick=btrl >*/
474 } GtkNumberUpLayout;
475
476 typedef enum
477 {
478   GTK_PAGE_ORIENTATION_PORTRAIT,
479   GTK_PAGE_ORIENTATION_LANDSCAPE,
480   GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT,
481   GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
482 } GtkPageOrientation;
483
484 typedef enum
485 {
486   GTK_PRINT_QUALITY_LOW,
487   GTK_PRINT_QUALITY_NORMAL,
488   GTK_PRINT_QUALITY_HIGH,
489   GTK_PRINT_QUALITY_DRAFT
490 } GtkPrintQuality;
491
492 typedef enum
493 {
494   GTK_PRINT_DUPLEX_SIMPLEX,
495   GTK_PRINT_DUPLEX_HORIZONTAL,
496   GTK_PRINT_DUPLEX_VERTICAL
497 } GtkPrintDuplex;
498
499
500 typedef enum
501 {
502   GTK_UNIT_PIXEL,
503   GTK_UNIT_POINTS,
504   GTK_UNIT_INCH,
505   GTK_UNIT_MM
506 } GtkUnit;
507
508 /**
509  * GtkTreeViewGridLines:
510  * @GTK_TREE_VIEW_GRID_LINES_NONE: No grid lines.
511  * @GTK_TREE_VIEW_GRID_LINES_HORIZONTAL: Horizontal grid lines.
512  * @GTK_TREE_VIEW_GRID_LINES_VERTICAL: Vertical grid lines.
513  * @GTK_TREE_VIEW_GRID_LINES_BOTH: Horizontal and vertical grid lines.
514  *
515  * Used to indicate which grid lines to draw in a tree view.
516  */
517 typedef enum
518 {
519   GTK_TREE_VIEW_GRID_LINES_NONE,
520   GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
521   GTK_TREE_VIEW_GRID_LINES_VERTICAL,
522   GTK_TREE_VIEW_GRID_LINES_BOTH
523 } GtkTreeViewGridLines;
524
525 typedef enum
526 {
527   GTK_DRAG_RESULT_SUCCESS,
528   GTK_DRAG_RESULT_NO_TARGET,
529   GTK_DRAG_RESULT_USER_CANCELLED,
530   GTK_DRAG_RESULT_TIMEOUT_EXPIRED,
531   GTK_DRAG_RESULT_GRAB_BROKEN,
532   GTK_DRAG_RESULT_ERROR
533 } GtkDragResult;
534
535 /**
536  * GtkSizeRequestMode:
537  * @GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH: Prefer height-for-width geometry management
538  * @GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT: Prefer width-for-height geometry management
539  * 
540  * Specifies a preference for height-for-width or
541  * width-for-height geometry management.
542  */
543 typedef enum
544 {
545   GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH = 0,
546   GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
547 } GtkSizeRequestMode;
548
549 /**
550  * GtkScrollablePolicy:
551  * @GTK_SCROLL_MINIMUM: Scrollable adjustments are based on the minimum size
552  * @GTK_SCROLL_NATURAL: Scrollable adjustments are based on the natural size
553  *
554  * Defines the policy to be used in a scrollable widget when updating
555  * the scrolled window adjustments in a given orientation.
556  */
557 typedef enum
558 {
559   GTK_SCROLL_MINIMUM = 0,
560   GTK_SCROLL_NATURAL
561 } GtkScrollablePolicy;
562
563 /**
564  * GtkStateFlags:
565  * @GTK_STATE_FLAG_ACTIVE: Widget is active.
566  * @GTK_STATE_FLAG_PRELIGHT: Widget has a mouse pointer over it.
567  * @GTK_STATE_FLAG_SELECTED: Widget is selected.
568  * @GTK_STATE_FLAG_INSENSITIVE: Widget is insensitive.
569  * @GTK_STATE_FLAG_INCONSISTENT: Widget is inconsistent.
570  * @GTK_STATE_FLAG_FOCUSED: Widget has the keyboard focus.
571  *
572  * Describes a widget state.
573  */
574 typedef enum
575 {
576   GTK_STATE_FLAG_ACTIVE       = 1 << 0,
577   GTK_STATE_FLAG_PRELIGHT     = 1 << 1,
578   GTK_STATE_FLAG_SELECTED     = 1 << 2,
579   GTK_STATE_FLAG_INSENSITIVE  = 1 << 3,
580   GTK_STATE_FLAG_INCONSISTENT = 1 << 4,
581   GTK_STATE_FLAG_FOCUSED      = 1 << 5
582 } GtkStateFlags;
583
584 /**
585  * GtkRegionFlags:
586  * @GTK_REGION_EVEN: Region has an even number within a set.
587  * @GTK_REGION_ODD: Region has an odd number within a set.
588  * @GTK_REGION_FIRST: Region is the first one within a set.
589  * @GTK_REGION_LAST: Region is the last one within a set.
590  * @GTK_REGION_SORTED: Region is part of a sorted area.
591  *
592  * Describes a region within a widget.
593  */
594 typedef enum {
595   GTK_REGION_EVEN    = 1 << 0,
596   GTK_REGION_ODD     = 1 << 1,
597   GTK_REGION_FIRST   = 1 << 2,
598   GTK_REGION_LAST    = 1 << 3,
599   GTK_REGION_SORTED  = 1 << 5
600 } GtkRegionFlags;
601
602 /**
603  * GtkJunctionSides:
604  * @GTK_JUNCTION_NONE: No junctions.
605  * @GTK_JUNCTION_TOP: Element connects on the top side.
606  * @GTK_JUNCTION_BOTTOM: Element connects on the bottom side.
607  * @GTK_JUNCTION_LEFT: Element connects on the left side.
608  * @GTK_JUNCTION_RIGHT: Element connects on the right side.
609  *
610  * Describes how a rendered element connects to adjacent elements.
611  */
612 typedef enum {
613   GTK_JUNCTION_NONE   = 0,
614   GTK_JUNCTION_TOP    = 1 << 0,
615   GTK_JUNCTION_BOTTOM = 1 << 1,
616   GTK_JUNCTION_LEFT   = 1 << 2,
617   GTK_JUNCTION_RIGHT  = 1 << 3
618 } GtkJunctionSides;
619
620 typedef enum {
621   GTK_BORDER_STYLE_NONE,
622   GTK_BORDER_STYLE_SOLID,
623   GTK_BORDER_STYLE_INSET,
624   GTK_BORDER_STYLE_OUTSET
625 } GtkBorderStyle;
626
627 G_END_DECLS
628
629
630 #endif /* __GTK_ENUMS_H__ */