Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# enums.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002 The Inti Development Team.
    00003  *
    00004  *  This program is free software; you can redistribute it and/or modify
    00005  *  it under the terms of the GNU General Public License as published by
    00006  *  the Free Software Foundation; either version 2 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  This program is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Library General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Library General Public License
    00015  *  along with this program; if not, write to the Free Software
    00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    00017  */
    00018
    00021
    00022 #ifndef INTI_GTK_ENUMS_H
    00023 #define INTI_GTK_ENUMS_H
    00024
    00025 #ifndef __GTK_ENUMS_H__
    00026 #include <gtk/gtkenums.h>
    00027 #endif
    00028
    00029 #ifndef __GTK_ACCEL_GROUP_H__
    00030 #include <gtk/gtkaccelgroup.h>
    00031 #endif
    00032
    00033 #ifndef __GTK_SIZE_GROUP_H__
    00034 #include <gtk/gtksizegroup.h>
    00035 #endif
    00036
    00037 namespace Inti {
    00038
    00039 namespace Gtk {
    00040
    00043
    00044 enum AccelFlags
    00045 {
    00046         ACCEL_VISIBLE = GTK_ACCEL_VISIBLE,
    00047         ACCEL_LOCKED = GTK_ACCEL_LOCKED,
    00048         ACCEL_MASK = GTK_ACCEL_MASK
    00049 };
    00050
    00052
    00053 typedef unsigned int AccelFlagsField;
    00054
    00057
    00058 enum ArrowType
    00059 {
    00060         ARROW_UP = GTK_ARROW_UP,
    00061         ARROW_DOWN = GTK_ARROW_DOWN,
    00062         ARROW_LEFT = GTK_ARROW_LEFT,
    00063         ARROW_RIGHT = GTK_ARROW_RIGHT
    00064 };
    00065
    00068
    00069 enum AttachOptions
    00070 {
    00071         EXPAND = GTK_EXPAND,
    00073
    00074         SHRINK = GTK_SHRINK,
    00076
    00077         FILL = GTK_FILL
    00079 };
    00080
    00082
    00083 typedef unsigned int AttachOptionsField;
    00084
    00088
    00089 enum CornerType
    00090 {
    00091         CORNER_TOP_LEFT = GTK_CORNER_TOP_LEFT,
    00092         //< Place the scrollbars on the right and bottom of the widget (default behaviour).
    00093
    00094         CORNER_BOTTOM_LEFT = GTK_CORNER_BOTTOM_LEFT,
    00096
    00097         CORNER_TOP_RIGHT = GTK_CORNER_TOP_RIGHT,
    00099
    00100         CORNER_BOTTOM_RIGHT = GTK_CORNER_BOTTOM_RIGHT
    00102 };
    00103
    00106
    00107 enum DeleteType
    00108 {
    00109         DELETE_CHARS = GTK_DELETE_CHARS,
    00111
    00112         DELETE_WORD_ENDS = GTK_DELETE_WORD_ENDS,
    00114
    00115         DELETE_WORDS = GTK_DELETE_WORDS,
    00117
    00118         DELETE_DISPLAY_LINES = GTK_DELETE_DISPLAY_LINES,
    00120
    00121         DELETE_DISPLAY_LINE_ENDS = GTK_DELETE_DISPLAY_LINE_ENDS,
    00123
    00124         DELETE_PARAGRAPH_ENDS = GTK_DELETE_PARAGRAPH_ENDS,
    00126
    00127         DELETE_PARAGRPHS = GTK_DELETE_PARAGRAPHS,
    00129
    00130         DELETE_WHITESPACE = GTK_DELETE_WHITESPACE
    00132 };
    00133
    00136
    00137 enum DirectionType
    00138 {
    00139         DIR_TAB_FORWARD = GTK_DIR_TAB_FORWARD,
    00140         DIR_TAB_BACKWARD = GTK_DIR_TAB_BACKWARD,
    00141         DIR_UP = GTK_DIR_UP,
    00142         DIR_DOWN = GTK_DIR_DOWN,
    00143         DIR_LEFT = GTK_DIR_LEFT,
    00144         DIR_RIGHT = GTK_DIR_RIGHT
    00145 };
    00146
    00149
    00150 enum ExpanderStyle
    00151 {
    00152         EXPANDER_COLLAPSED = GTK_EXPANDER_COLLAPSED,
    00153         EXPANDER_SEMI_COLLAPSED = GTK_EXPANDER_SEMI_COLLAPSED,
    00154         EXPANDER_SEMI_EXPANDED = GTK_EXPANDER_SEMI_EXPANDED,
    00155         EXPANDER_EXPANDED = GTK_EXPANDER_EXPANDED
    00156 };
    00157
    00160
    00161 enum IconSize
    00162 {
    00163         ICON_SIZE_INVALID = GTK_ICON_SIZE_INVALID,
    00164         ICON_SIZE_MENU = GTK_ICON_SIZE_MENU,
    00165         ICON_SIZE_SMALL_TOOLBAR = GTK_ICON_SIZE_SMALL_TOOLBAR,
    00166         ICON_SIZE_LARGE_TOOLBAR = GTK_ICON_SIZE_LARGE_TOOLBAR,
    00167         ICON_SIZE_BUTTON = GTK_ICON_SIZE_BUTTON,
    00168         ICON_SIZE_DND = GTK_ICON_SIZE_DND,
    00169         ICON_SIZE_DIALOG = GTK_ICON_SIZE_DIALOG
    00170 };
    00171
    00174
    00175 enum Justification
    00176 {
    00177         JUSTIFY_LEFT = GTK_JUSTIFY_LEFT,
    00178         JUSTIFY_RIGHT = GTK_JUSTIFY_RIGHT,
    00179         JUSTIFY_CENTER = GTK_JUSTIFY_CENTER,
    00180         JUSTIFY_FILL = GTK_JUSTIFY_FILL
    00181 };
    00182
    00185
    00186 enum MetricType
    00187 {
    00188         PIXELS = GTK_PIXELS,
    00189         INCHES = GTK_INCHES,
    00190         CENTIMETERS = GTK_CENTIMETERS //Ruler with centimeter units.
    00191 };
    00192
    00195
    00196 enum MovementStep
    00197 {
    00198         MOVEMENT_LOGICAL_POSITIONS = GTK_MOVEMENT_LOGICAL_POSITIONS,
    00199         MOVEMENT_VISUAL_POSITIONS = GTK_MOVEMENT_VISUAL_POSITIONS,
    00200         MOVEMENT_WORDS = GTK_MOVEMENT_WORDS,
    00201         MOVEMENT_DISPLAY_LINES = GTK_MOVEMENT_DISPLAY_LINES,
    00202         MOVEMENT_DISPLAY_LINE_ENDS = GTK_MOVEMENT_DISPLAY_LINE_ENDS,
    00203         MOVEMENT_PARAGRAPHS = GTK_MOVEMENT_PARAGRAPHS,
    00204         MOVEMENT_PARAGRAPHS_ENDS = GTK_MOVEMENT_PARAGRAPH_ENDS,
    00205         MOVEMENT_PAGES = GTK_MOVEMENT_PAGES,
    00206         MOVEMENT_BUFFER_ENDS = GTK_MOVEMENT_BUFFER_ENDS
    00207 };
    00208
    00213
    00214 enum Orientation
    00215 {
    00216         ORIENTATION_HORIZONTAL = GTK_ORIENTATION_HORIZONTAL,
    00217         ORIENTATION_VERTICAL = GTK_ORIENTATION_VERTICAL
    00218 };
    00219
    00222
    00223 enum PackType
    00224 {
    00225         PACK_START = GTK_PACK_START,
    00226         PACK_END = GTK_PACK_END
    00227 };
    00228
    00231
    00232 enum PolicyType
    00233 {
    00234         POLICY_ALWAYS = GTK_POLICY_ALWAYS,
    00235         POLICY_AUTOMATIC = GTK_POLICY_AUTOMATIC,
    00236         POLICY_NEVER = GTK_POLICY_NEVER
    00237 };
    00238
    00241
    00242 enum PositionType
    00243 {
    00244         POS_LEFT = GTK_POS_LEFT,
    00245         POS_RIGHT = GTK_POS_RIGHT,
    00246         POS_TOP = GTK_POS_TOP,
    00247         POS_BOTTOM = GTK_POS_BOTTOM
    00248 };
    00249
    00252
    00253 enum ReliefStyle
    00254 {
    00255         RELIEF_NORMAL = GTK_RELIEF_NORMAL,
    00256         RELIEF_HALF = GTK_RELIEF_HALF,
    00257         RELIEF_NONE = GTK_RELIEF_NONE
    00258 };
    00259
    00263
    00264 enum  ResizeMode
    00265 {
    00266         RESIZE_PARENT = GTK_RESIZE_PARENT,
    00267         RESIZE_QUEUE = GTK_RESIZE_QUEUE,
    00268         RESIZE_IMMEDIATE = GTK_RESIZE_IMMEDIATE
    00269 };
    00270
    00274
    00275 enum ScrollType
    00276 {
    00277         SCROLL_NONE = GTK_SCROLL_NONE,
    00278         SCROLL_JUMP = GTK_SCROLL_JUMP,
    00279         SCROLL_STEP_BACKWARD = GTK_SCROLL_STEP_BACKWARD,
    00282
    00283         SCROLL_STEP_FORWARD = GTK_SCROLL_STEP_FORWARD,
    00286
    00287         SCROLL_PAGE_BACKWARD = GTK_SCROLL_PAGE_BACKWARD,
    00290
    00291         SCROLL_PAGE_FORWARD = GTK_SCROLL_PAGE_FORWARD,
    00294
    00295         SCROLL_STEP_UP = GTK_SCROLL_STEP_UP,
    00296         SCROLL_STEP_DOWN = GTK_SCROLL_STEP_DOWN,
    00297         SCROLL_PAGE_UP = GTK_SCROLL_PAGE_UP,
    00298         SCROLL_PAGE_DOWN = GTK_SCROLL_PAGE_DOWN,
    00299         SCROLL_STEP_LEFT = GTK_SCROLL_STEP_LEFT,
    00300         SCROLL_STEP_RIGHT = GTK_SCROLL_STEP_RIGHT,
    00301         SCROLL_PAGE_LEFT = GTK_SCROLL_PAGE_LEFT,
    00302         SCROLL_PAGE_RIGHT = GTK_SCROLL_PAGE_RIGHT,
    00303         SCROLL_START = GTK_SCROLL_START,
    00304         SCROLL_END = GTK_SCROLL_END
    00305 };
    00306
    00312
    00313 enum SelectionMode
    00314 {
    00315         SELECTION_NONE = GTK_SELECTION_NONE,
    00317
    00318         SELECTION_SINGLE = GTK_SELECTION_SINGLE,
    00322
    00323         SELECTION_BROWSE = GTK_SELECTION_BROWSE,
    00327
    00328         SELECTION_MULTIPLE = GTK_SELECTION_MULTIPLE,
    00330
    00331         SELECTION_EXTENDED = GTK_SELECTION_EXTENDED
    00333 };
    00334
    00337
    00338 enum ShadowType
    00339 {
    00340         SHADOW_NONE = GTK_SHADOW_NONE,
    00341         SHADOW_IN = GTK_SHADOW_IN,
    00342         SHADOW_OUT = GTK_SHADOW_OUT,
    00343         SHADOW_ETCHED_IN = GTK_SHADOW_ETCHED_IN,
    00344         SHADOW_ETCHED_OUT = GTK_SHADOW_ETCHED_OUT
    00345 };
    00346
    00350
    00351 enum SizeGroupMode
    00352 {
    00353         SIZE_GROUP_NONE = GTK_SIZE_GROUP_NONE,
    00354         SIZE_GROUP_HORIZONTAL = GTK_SIZE_GROUP_HORIZONTAL,
    00355         SIZE_GROUP_VERTICAL = GTK_SIZE_GROUP_VERTICAL,
    00356         SIZE_GROUP_BOTH = GTK_SIZE_GROUP_BOTH
    00357 };
    00358
    00361
    00362 enum SortType
    00363 {
    00364         SORT_ASCENDING = GTK_SORT_ASCENDING,
    00365         SORT_DESCENDING = GTK_SORT_DESCENDING
    00366 };
    00367
    00368 // @enum Gtk::StateType
    00373
    00374 enum StateType
    00375 {
    00376         STATE_NORMAL = GTK_STATE_NORMAL,
    00378
    00379         STATE_ACTIVE = GTK_STATE_ACTIVE,
    00381
    00382         STATE_PRELIGHT = GTK_STATE_PRELIGHT,
    00384
    00385         STATE_SELECTED = GTK_STATE_SELECTED,
    00387
    00388         STATE_INSENSITIVE = GTK_STATE_INSENSITIVE
    00390 };
    00391
    00394
    00395 enum TextDirection
    00396 {
    00397         TEXT_DIR_NONE = GTK_TEXT_DIR_NONE,
    00399
    00400         TEXT_DIR_LTR = GTK_TEXT_DIR_LTR,
    00402
    00403         TEXT_DIR_RTL = GTK_TEXT_DIR_RTL
    00405 };
    00406
    00409
    00410 enum UpdateType
    00411 {
    00412         UPDATE_CONTINUOUS = GTK_UPDATE_CONTINUOUS,
    00415
    00416         UPDATE_DISCONTINUOUS = GTK_UPDATE_DISCONTINUOUS,
    00419
    00420         UPDATE_DELAYED = GTK_UPDATE_DELAYED
    00423 };
    00424
    00427
    00428 enum WindowPosition
    00429 {
    00430         WIN_POS_NONE = GTK_WIN_POS_NONE,
    00431         WIN_POS_CENTER = GTK_WIN_POS_CENTER,
    00432         WIN_POS_MOUSE = GTK_WIN_POS_MOUSE,
    00433         WIN_POS_CENTER_ALWAYS = GTK_WIN_POS_CENTER_ALWAYS,
    00434         WIN_POS_CENTER_ON_PARENT = GTK_WIN_POS_CENTER_ON_PARENT
    00435 };
    00436
    00439
    00440 enum WrapMode
    00441 {
    00442         WRAP_NONE = GTK_WRAP_NONE,
    00443
    00444         WRAP_CHAR = GTK_WRAP_CHAR,
    00448
    00449         WRAP_WORD = GTK_WRAP_WORD
    00450 };
    00451
    00453
    00454 enum WindowType
    00455 {
    00456         WINDOW_TOPLEVEL = GTK_WINDOW_TOPLEVEL,
    00460
    00461         WINDOW_POPUP = GTK_WINDOW_POPUP
    00467 };
    00468
    00469 } // namespace Gtk
    00470
    00471 } // namespace Inti
    00472
    00473 #endif // INTI_GTK_ENUMS_H
    00474

Main Page - Footer