1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Public enumerated types used throughout GTK+.
7 <!-- ##### SECTION Long_Description ##### -->
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### ENUM GtkAccelFlags ##### -->
23 @GTK_ACCEL_SIGNAL_VISIBLE:
27 <!-- ##### ENUM GtkArrowType ##### -->
29 Used to indicate the direction in which a #GtkArrow should point.
32 @GTK_ARROW_UP: Represents an upward pointing arrow.
33 @GTK_ARROW_DOWN: Represents a downward pointing arrow.
34 @GTK_ARROW_LEFT: Represents a left pointing arrow.
35 @GTK_ARROW_RIGHT: Represents a right pointing arrow.
37 <!-- ##### ENUM GtkAttachOptions ##### -->
39 Denotes the expansion properties that a widget will have when it (or it's
43 @GTK_EXPAND: the widget should expand to take up any extra space in its
44 container that has been allocated.
45 @GTK_SHRINK: the widget should shrink as and when possible.
46 @GTK_FILL: the widget should fill the space allocated to it.
48 <!-- ##### ENUM GtkButtonBoxStyle ##### -->
50 Used to dictate the style that a #GtkButtonBox uses to layout the buttons it
51 contains. (See also: #GtkVButtonBox and #GtkHButtonBox).
54 @GTK_BUTTONBOX_DEFAULT_STYLE: Default packing.
55 @GTK_BUTTONBOX_SPREAD: Buttons are evenly spread across the ButtonBox.
56 @GTK_BUTTONBOX_EDGE: Buttons are placed at the edges of the ButtonBox.
57 @GTK_BUTTONBOX_START: Buttons are grouped towards the start of box, (on the
58 left for a HBox, or the top for a VBox).
59 @GTK_BUTTONBOX_END: Buttons are grouped towards the end of a box, (on the
60 right for a HBox, or the bottom for a VBox).
62 <!-- ##### ENUM GtkCornerType ##### -->
64 Specifies which corner a child widget should be placed in when packed into
65 a #GtkScrolledWindow. This is effectively the opposite of where the scroll
69 @GTK_CORNER_TOP_LEFT: Place the scrollbars on the right and bottom of the
70 widget (default behaviour).
71 @GTK_CORNER_BOTTOM_LEFT: Place the scrollbars on the top and right of the
73 @GTK_CORNER_TOP_RIGHT: Place the scrollbars on the left and bottom of the
75 @GTK_CORNER_BOTTOM_RIGHT: Place the scrollbars on the top and left of the
78 <!-- ##### ENUM GtkCurveType ##### -->
83 @GTK_CURVE_TYPE_LINEAR:
84 @GTK_CURVE_TYPE_SPLINE:
87 <!-- ##### ENUM GtkDeleteType ##### -->
93 @GTK_DELETE_WORD_ENDS:
95 @GTK_DELETE_DISPLAY_LINES:
96 @GTK_DELETE_DISPLAY_LINE_ENDS:
97 @GTK_DELETE_PARAGRAPH_ENDS:
98 @GTK_DELETE_PARAGRAPHS:
99 @GTK_DELETE_WHITESPACE:
101 <!-- ##### ENUM GtkDirectionType ##### -->
106 @GTK_DIR_TAB_FORWARD:
107 @GTK_DIR_TAB_BACKWARD:
113 <!-- ##### ENUM GtkJustification ##### -->
115 Used for justifying the text inside a #GtkLabel widget. (See also
119 @GTK_JUSTIFY_LEFT: The text is placed at the left edge of the label.
120 @GTK_JUSTIFY_RIGHT: The text is placed at the right edge of the label.
121 @GTK_JUSTIFY_CENTER: The text is placed in the center of the label.
122 @GTK_JUSTIFY_FILL: The text is placed is distributed across the label.
124 <!-- ##### ENUM GtkMatchType ##### -->
136 <!-- ##### ENUM GtkMetricType ##### -->
145 <!-- ##### ENUM GtkMovementStep ##### -->
150 @GTK_MOVEMENT_LOGICAL_POSITIONS:
151 @GTK_MOVEMENT_VISUAL_POSITIONS:
153 @GTK_MOVEMENT_DISPLAY_LINES:
154 @GTK_MOVEMENT_DISPLAY_LINE_ENDS:
155 @GTK_MOVEMENT_PARAGRAPHS:
156 @GTK_MOVEMENT_PARAGRAPH_ENDS:
158 @GTK_MOVEMENT_BUFFER_ENDS:
160 <!-- ##### ENUM GtkOrientation ##### -->
165 @GTK_ORIENTATION_HORIZONTAL:
166 @GTK_ORIENTATION_VERTICAL:
168 <!-- ##### ENUM GtkPackType ##### -->
170 Used for packing widgets into #GtkBox widgets. (See also: #GtkVBox,
171 #GtkHBox, and #GtkButtonBox).
177 <!-- ##### ENUM GtkPathPriorityType ##### -->
182 @GTK_PATH_PRIO_LOWEST:
184 @GTK_PATH_PRIO_APPLICATION:
186 @GTK_PATH_PRIO_HIGHEST:
189 <!-- ##### ENUM GtkPathType ##### -->
195 @GTK_PATH_WIDGET_CLASS:
198 <!-- ##### ENUM GtkPolicyType ##### -->
200 Determines when a scroll bar will be visible.
203 @GTK_POLICY_ALWAYS: The scrollbar is always visible.
204 @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example,
205 when all of a #GtkCList can not be seen.
206 @GTK_POLICY_NEVER: The scrollbar will never appear.
208 <!-- ##### ENUM GtkPositionType ##### -->
218 <!-- ##### ENUM GtkPreviewType ##### -->
220 An enumeration which describes whether a preview
221 contains grayscale or red-green-blue data.
224 @GTK_PREVIEW_COLOR: the preview contains red-green-blue data.
225 @GTK_PREVIEW_GRAYSCALE: The preview contains grayscale data.
227 <!-- ##### ENUM GtkReliefStyle ##### -->
236 <!-- ##### ENUM GtkResizeMode ##### -->
243 @GTK_RESIZE_IMMEDIATE:
245 <!-- ##### ENUM GtkScrollType ##### -->
251 @GTK_SCROLL_STEP_BACKWARD:
252 @GTK_SCROLL_STEP_FORWARD:
253 @GTK_SCROLL_PAGE_BACKWARD:
254 @GTK_SCROLL_PAGE_FORWARD:
257 @GTK_SCROLL_STEP_DOWN:
259 @GTK_SCROLL_PAGE_DOWN:
260 @GTK_SCROLL_STEP_LEFT:
261 @GTK_SCROLL_STEP_RIGHT:
262 @GTK_SCROLL_PAGE_LEFT:
263 @GTK_SCROLL_PAGE_RIGHT:
265 <!-- ##### ENUM GtkSelectionMode ##### -->
270 @GTK_SELECTION_SINGLE:
271 @GTK_SELECTION_BROWSE:
272 @GTK_SELECTION_MULTIPLE:
273 @GTK_SELECTION_EXTENDED:
275 <!-- ##### ENUM GtkShadowType ##### -->
277 Used to change the appearance of an outline typically provided by a #GtkFrame.
280 @GTK_SHADOW_NONE: No outline.
281 @GTK_SHADOW_IN: The outline is bevelled inwards.
282 @GTK_SHADOW_OUT: The outline is bevelled outwards like a button.
283 @GTK_SHADOW_ETCHED_IN: The outline itself is an inward bevel, but the frame
285 @GTK_SHADOW_ETCHED_OUT:
287 <!-- ##### ENUM GtkStateType ##### -->
289 This type indicates the current state of a widget.
292 @GTK_STATE_NORMAL: The state during normal operation.
293 @GTK_STATE_ACTIVE: The widget is currently active, such as a
294 @GTK_STATE_PRELIGHT: The mouse pointer is over the widget.
296 @GTK_STATE_INSENSITIVE: The state of the widget can not be altered by the
297 user. Its appearance will usually indicate this.
299 <!-- ##### ENUM GtkSubmenuDirection ##### -->
301 Indicates the direction a sub-menu will appear.
304 @GTK_DIRECTION_LEFT: A sub-menu will appear
305 @GTK_DIRECTION_RIGHT:
307 <!-- ##### ENUM GtkSubmenuPlacement ##### -->
315 <!-- ##### ENUM GtkToolbarStyle ##### -->
317 Used to customize the appearance of a #GtkToolbar.
320 @GTK_TOOLBAR_ICONS: Buttons should display only icons in the toolbar.
321 @GTK_TOOLBAR_TEXT: Buttons should display only text labels in the toolbar.
322 @GTK_TOOLBAR_BOTH: Buttons should display text and icons in the toolbar.
323 @GTK_TOOLBAR_BOTH_HORIZ:
325 <!-- ##### ENUM GtkTroughType ##### -->
335 <!-- ##### ENUM GtkUpdateType ##### -->
340 @GTK_UPDATE_CONTINUOUS:
341 @GTK_UPDATE_DISCONTINUOUS:
344 <!-- ##### ENUM GtkVisibility ##### -->
349 @GTK_VISIBILITY_NONE:
350 @GTK_VISIBILITY_PARTIAL:
351 @GTK_VISIBILITY_FULL:
353 <!-- ##### ENUM GtkWindowPosition ##### -->
355 Window placement can be influenced using this enumeration.
358 @GTK_WIN_POS_NONE: No influence is made on placement.
359 @GTK_WIN_POS_CENTER: Windows should be placed in the center of the screen.
360 @GTK_WIN_POS_MOUSE: Windows should be placed at the current mouse position.
361 @GTK_WIN_POS_CENTER_ALWAYS:
362 @GTK_WIN_POS_CENTER_ON_PARENT:
364 <!-- ##### ENUM GtkWindowType ##### -->
366 A #GtkWindow can be of these types. A toplevel window has standard window
367 decorations by default. A dialog may have fewer decorations and obey a
368 different placement policy. A popup window will have no decorations.
371 It should be noted that such decorations can often be over-ridden by modern
375 @GTK_WINDOW_TOPLEVEL: A window for a typical application.
376 @GTK_WINDOW_POPUP: A window for popups.
378 <!-- ##### ENUM GtkSortType ##### -->
380 Determines the direction of a sort.
383 @GTK_SORT_ASCENDING: Sorting is in ascending order.
384 @GTK_SORT_DESCENDING: Sorting is in descending order.