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 GtkExpanderStyle ##### -->
118 @GTK_EXPANDER_COLLAPSED:
119 @GTK_EXPANDER_SEMI_COLLAPSED:
120 @GTK_EXPANDER_SEMI_EXPANDED:
121 @GTK_EXPANDER_EXPANDED:
123 <!-- ##### ENUM GtkJustification ##### -->
125 Used for justifying the text inside a #GtkLabel widget. (See also
129 @GTK_JUSTIFY_LEFT: The text is placed at the left edge of the label.
130 @GTK_JUSTIFY_RIGHT: The text is placed at the right edge of the label.
131 @GTK_JUSTIFY_CENTER: The text is placed in the center of the label.
132 @GTK_JUSTIFY_FILL: The text is placed is distributed across the label.
134 <!-- ##### ENUM GtkMatchType ##### -->
146 <!-- ##### ENUM GtkMetricType ##### -->
155 <!-- ##### ENUM GtkMovementStep ##### -->
160 @GTK_MOVEMENT_LOGICAL_POSITIONS:
161 @GTK_MOVEMENT_VISUAL_POSITIONS:
163 @GTK_MOVEMENT_DISPLAY_LINES:
164 @GTK_MOVEMENT_DISPLAY_LINE_ENDS:
165 @GTK_MOVEMENT_PARAGRAPHS:
166 @GTK_MOVEMENT_PARAGRAPH_ENDS:
168 @GTK_MOVEMENT_BUFFER_ENDS:
170 <!-- ##### ENUM GtkOrientation ##### -->
175 @GTK_ORIENTATION_HORIZONTAL:
176 @GTK_ORIENTATION_VERTICAL:
178 <!-- ##### ENUM GtkPackType ##### -->
180 Represents the packing location #GtkBox children. (See: #GtkVBox,
181 #GtkHBox, and #GtkButtonBox).
184 @GTK_PACK_START: The child is packed into the start of the box
185 @GTK_PACK_END: The child is packed into the end of the box
187 <!-- ##### ENUM GtkPathPriorityType ##### -->
192 @GTK_PATH_PRIO_LOWEST:
194 @GTK_PATH_PRIO_APPLICATION:
195 @GTK_PATH_PRIO_THEME:
197 @GTK_PATH_PRIO_HIGHEST:
199 <!-- ##### ENUM GtkPathType ##### -->
205 @GTK_PATH_WIDGET_CLASS:
208 <!-- ##### ENUM GtkPolicyType ##### -->
210 Determines when a scroll bar will be visible.
213 @GTK_POLICY_ALWAYS: The scrollbar is always visible.
214 @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example,
215 when all of a #GtkCList can not be seen.
216 @GTK_POLICY_NEVER: The scrollbar will never appear.
218 <!-- ##### ENUM GtkPositionType ##### -->
228 <!-- ##### ENUM GtkPreviewType ##### -->
230 An enumeration which describes whether a preview
231 contains grayscale or red-green-blue data.
234 @GTK_PREVIEW_COLOR: the preview contains red-green-blue data.
235 @GTK_PREVIEW_GRAYSCALE: The preview contains grayscale data.
237 <!-- ##### ENUM GtkReliefStyle ##### -->
246 <!-- ##### ENUM GtkResizeMode ##### -->
253 @GTK_RESIZE_IMMEDIATE:
255 <!-- ##### ENUM GtkScrollType ##### -->
262 @GTK_SCROLL_STEP_BACKWARD:
263 @GTK_SCROLL_STEP_FORWARD:
264 @GTK_SCROLL_PAGE_BACKWARD:
265 @GTK_SCROLL_PAGE_FORWARD:
267 @GTK_SCROLL_STEP_DOWN:
269 @GTK_SCROLL_PAGE_DOWN:
270 @GTK_SCROLL_STEP_LEFT:
271 @GTK_SCROLL_STEP_RIGHT:
272 @GTK_SCROLL_PAGE_LEFT:
273 @GTK_SCROLL_PAGE_RIGHT:
277 <!-- ##### ENUM GtkSelectionMode ##### -->
282 @GTK_SELECTION_SINGLE:
283 @GTK_SELECTION_BROWSE:
284 @GTK_SELECTION_MULTIPLE:
285 @GTK_SELECTION_EXTENDED:
287 <!-- ##### ENUM GtkShadowType ##### -->
289 Used to change the appearance of an outline typically provided by a #GtkFrame.
292 @GTK_SHADOW_NONE: No outline.
293 @GTK_SHADOW_IN: The outline is bevelled inwards.
294 @GTK_SHADOW_OUT: The outline is bevelled outwards like a button.
295 @GTK_SHADOW_ETCHED_IN: The outline itself is an inward bevel, but the frame
297 @GTK_SHADOW_ETCHED_OUT:
299 <!-- ##### ENUM GtkStateType ##### -->
301 This type indicates the current state of a widget; the state determines how
302 the widget is drawn. The #GtkStateType enumeration is also used to
303 identify different colors in a #GtkStyle for drawing, so states can be
304 used for subparts of a widget as well as entire widgets.
307 @GTK_STATE_NORMAL: State during normal operation.
308 @GTK_STATE_ACTIVE: State of a currently active widget, such as a depressed button.
309 @GTK_STATE_PRELIGHT: State indicating that the mouse pointer is over
310 the widget and the widget will respond to mouse clicks.
311 @GTK_STATE_SELECTED: State of a selected item, such the selected row in a list.
312 @GTK_STATE_INSENSITIVE: State indicating that the widget is
313 unresponsive to user actions.
315 <!-- ##### ENUM GtkSubmenuDirection ##### -->
317 Indicates the direction a sub-menu will appear.
320 @GTK_DIRECTION_LEFT: A sub-menu will appear
321 @GTK_DIRECTION_RIGHT:
323 <!-- ##### ENUM GtkSubmenuPlacement ##### -->
331 <!-- ##### ENUM GtkToolbarStyle ##### -->
333 Used to customize the appearance of a #GtkToolbar. Note that
334 setting the toolbar style overrides the user's preferences
335 for the default toolbar style.
338 @GTK_TOOLBAR_ICONS: Buttons display only icons in the toolbar.
339 @GTK_TOOLBAR_TEXT: Buttons display only text labels in the toolbar.
340 @GTK_TOOLBAR_BOTH: Buttons display text and icons in the toolbar.
341 @GTK_TOOLBAR_BOTH_HORIZ: Buttons display icons and text alongside each
342 other, rather than vertically stacked
344 <!-- ##### ENUM GtkUpdateType ##### -->
349 @GTK_UPDATE_CONTINUOUS:
350 @GTK_UPDATE_DISCONTINUOUS:
353 <!-- ##### ENUM GtkVisibility ##### -->
358 @GTK_VISIBILITY_NONE:
359 @GTK_VISIBILITY_PARTIAL:
360 @GTK_VISIBILITY_FULL:
362 <!-- ##### ENUM GtkWindowPosition ##### -->
364 Window placement can be influenced using this enumeration.
367 @GTK_WIN_POS_NONE: No influence is made on placement.
368 @GTK_WIN_POS_CENTER: Windows should be placed in the center of the screen.
369 @GTK_WIN_POS_MOUSE: Windows should be placed at the current mouse position.
370 @GTK_WIN_POS_CENTER_ALWAYS: Keep window centered as it changes size, etc.
371 @GTK_WIN_POS_CENTER_ON_PARENT: Center the window on its transient
372 parent (see gtk_window_set_transient_for()).
374 <!-- ##### ENUM GtkWindowType ##### -->
376 A #GtkWindow can be one of these types. Most things you'd consider a
377 "window" should have type #GTK_WINDOW_TOPLEVEL; windows with this type
378 are managed by the window manager and have a frame by default (call
379 gtk_window_set_decorated() to toggle the frame). Windows with type
380 #GTK_WINDOW_POPUP are ignored by the window manager; window manager
381 keybindings won't work on them, the window manager won't decorate the
382 window with a frame, many GTK+ features that rely on the window
383 manager will not work (e.g. resize grips and
384 maximization/minimization). #GTK_WINDOW_POPUP is used to implement
385 widgets such as #GtkMenu or tooltips that you normally don't think of
386 as windows per se. Nearly all windows should be #GTK_WINDOW_TOPLEVEL.
387 In particular, do not use #GTK_WINDOW_POPUP just to turn off
388 the window borders; use gtk_window_set_decorated() for that.
391 @GTK_WINDOW_TOPLEVEL: A regular window, such as a dialog.
392 @GTK_WINDOW_POPUP: A special window such as a tooltip.
394 <!-- ##### ENUM GtkSortType ##### -->
396 Determines the direction of a sort.
399 @GTK_SORT_ASCENDING: Sorting is in ascending order.
400 @GTK_SORT_DESCENDING: Sorting is in descending order.