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 Represents the packing location #GtkBox children. (See: #GtkVBox,
171 #GtkHBox, and #GtkButtonBox).
174 @GTK_PACK_START: The child is packed into the start of the box
175 @GTK_PACK_END: The child is packed into the end of the box
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. Note that
318 setting the toolbar style overrides the user's preferences
319 for the default toolbar style.
322 @GTK_TOOLBAR_ICONS: Buttons display only icons in the toolbar.
323 @GTK_TOOLBAR_TEXT: Buttons display only text labels in the toolbar.
324 @GTK_TOOLBAR_BOTH: Buttons display text and icons in the toolbar.
325 @GTK_TOOLBAR_BOTH_HORIZ: Buttons display icons and text alongside each
326 other, rather than vertically stacked
328 <!-- ##### ENUM GtkTroughType ##### -->
338 <!-- ##### ENUM GtkUpdateType ##### -->
343 @GTK_UPDATE_CONTINUOUS:
344 @GTK_UPDATE_DISCONTINUOUS:
347 <!-- ##### ENUM GtkVisibility ##### -->
352 @GTK_VISIBILITY_NONE:
353 @GTK_VISIBILITY_PARTIAL:
354 @GTK_VISIBILITY_FULL:
356 <!-- ##### ENUM GtkWindowPosition ##### -->
358 Window placement can be influenced using this enumeration.
361 @GTK_WIN_POS_NONE: No influence is made on placement.
362 @GTK_WIN_POS_CENTER: Windows should be placed in the center of the screen.
363 @GTK_WIN_POS_MOUSE: Windows should be placed at the current mouse position.
364 @GTK_WIN_POS_CENTER_ALWAYS: Keep window centered as it changes size, etc.
365 @GTK_WIN_POS_CENTER_ON_PARENT: Center the window on its transient
366 parent (see gtk_window_set_transient_for()).
368 <!-- ##### ENUM GtkWindowType ##### -->
370 A #GtkWindow can be one of these types. Most things you'd consider a
371 "window" should have type #GTK_WINDOW_TOPLEVEL; windows with this type
372 are managed by the window manager and have a frame by default (call
373 gtk_window_set_decorated() to toggle the frame). Windows with type
374 #GTK_WINDOW_POPUP are ignored by the window manager; window manager
375 keybindings won't work on them, the window manager won't decorate the
376 window with a frame, many GTK+ features that rely on the window
377 manager will not work (e.g. resize grips and
378 maximization/minimization). #GTK_WINDOW_POPUP is used to implement
379 widgets such as #GtkMenu or tooltips that you normally don't think of
380 as windows per se. Nearly all windows should be #GTK_WINDOW_TOPLEVEL.
381 In particular, do not use #GTK_WINDOW_POPUP just to turn off
382 the window borders; use gtk_window_set_decorated() for that.
385 @GTK_WINDOW_TOPLEVEL: A regular window, such as a dialog.
386 @GTK_WINDOW_POPUP: A special window such as a tooltip.
388 <!-- ##### ENUM GtkSortType ##### -->
390 Determines the direction of a sort.
393 @GTK_SORT_ASCENDING: Sorting is in ascending order.
394 @GTK_SORT_DESCENDING: Sorting is in descending order.