GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

util.hh

Go to the documentation of this file.
00001 /* GFC-UI: GTK+ Foundation Classes (User Interface Library) 00002 * Copyright (C) 2002-2003 The GFC 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 00023 00024 #ifndef GFC_ATK_UTIL_HH 00025 #define GFC_ATK_UTIL_HH 00026 00027 #ifndef GFC_UTF_STRING_HH 00028 #include <gfc/utfstring.hh> 00029 #endif 00030 00031 #ifndef __ATK_UTIL_H__ 00032 #include <atk/atkutil.h> 00033 #endif 00034 00035 namespace GFC { 00036 00037 namespace Atk { 00038 00039 class Object; 00040 00042 00043 typedef AtkState State; 00044 00048 00049 enum CoordType 00050 { 00051 XY_SCREEN = ATK_XY_SCREEN, 00052 XY_WINDOW = ATK_XY_WINDOW 00053 }; 00054 00061 00062 enum Layer 00063 { 00064 LAYER_INVALID = ATK_LAYER_INVALID, 00065 LAYER_BACKGROUND = ATK_LAYER_BACKGROUND, 00066 LAYER_CANVAS = ATK_LAYER_CANVAS, 00067 LAYER_WIDGET = ATK_LAYER_WIDGET, 00068 LAYER_MDI = ATK_LAYER_MDI, 00069 LAYER_POPUP = ATK_LAYER_POPUP, 00070 LAYER_OVERLAY = ATK_LAYER_OVERLAY, 00071 LAYER_WINDOW = ATK_LAYER_WINDOW 00072 }; 00073 00076 00077 enum RelationType 00078 { 00079 RELATION_NULL = ATK_RELATION_NULL, 00081 00082 RELATION_CONTROLLED_BY = ATK_RELATION_CONTROLLED_BY, 00084 00085 RELATION_CONTROLLER_FOR = ATK_RELATION_CONTROLLER_FOR, 00087 00088 RELATION_LABEL_FOR = ATK_RELATION_LABEL_FOR, 00090 00091 RELATION_LABELLED_BY = ATK_RELATION_LABELLED_BY, 00093 00094 RELATION_MEMBER_OF = ATK_RELATION_MEMBER_OF, 00096 00097 RELATION_NODE_CHILD_OF = ATK_RELATION_NODE_CHILD_OF, 00100 00101 RELATION_FLOWS_TO = ATK_RELATION_FLOWS_TO, 00104 00105 RELATION_FLOWS_FROM = ATK_RELATION_FLOWS_FROM, 00108 00109 RELATION_SUBWINDOW_OF = ATK_RELATION_SUBWINDOW_OF, 00111 00112 RELATION_EMBEDS = ATK_RELATION_EMBEDS, 00115 00116 RELATION_EMBEDDED_BY = ATK_RELATION_EMBEDDED_BY, 00119 00120 RELATION_POPUP_FOR = ATK_RELATION_POPUP_FOR, 00122 00123 RELATION_LAST_DEFINED = ATK_RELATION_LAST_DEFINED 00125 }; 00126 00129 00130 RelationType relation_type_register(const String& name); 00134 00135 String relation_type_get_name(RelationType type); 00139 00140 RelationType relation_type_for_name(const String& name); 00144 00148 00149 Object* get_root(); 00151 00152 Object* get_focus_object(); 00155 00156 String get_toolkit_name(); 00158 00159 String get_toolkit_version(); 00161 00163 00164 } // namespace Atk 00165 00166 } // namespace GFC 00167 00168 #endif // GFC_ATK_UTIL_HH 00169 00170

Generated on Tue Aug 24 00:34:32 2004 for GFC-UI by doxygen 1.3.8