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

separator.hh

Go to the documentation of this file.
00001 /* GFC-UI: GTK+ Foundation Classes (User Interface Library) 00002 * Copyright (C) 2002-2004 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 00025 00026 #ifndef GFC_GTK_SEPARATOR_HH 00027 #define GFC_GTK_SEPARATOR_HH 00028 00029 #ifndef GFC_GTK_WIDGET_HH 00030 #include <gfc/gtk/widget.hh> 00031 #endif 00032 00033 #ifndef __GTK_HSEPARATOR_H__ 00034 #include <gtk/gtkhseparator.h> 00035 #endif 00036 00037 #ifndef __GTK_VSEPARATOR_H__ 00038 #include <gtk/gtkvseparator.h> 00039 #endif 00040 00041 namespace GFC { 00042 00043 namespace Gtk { 00044 00049 00050 class Separator : public Widget 00051 { 00052 friend class G::Object; 00053 00054 Separator(const Separator&); 00055 Separator& operator=(const Separator&); 00056 00057 protected: 00060 00061 Separator(); 00063 00064 explicit Separator(GtkSeparator *separator, bool owns_reference = false); 00071 00072 virtual ~Separator() = 0; 00074 00076 00077 public: 00080 00081 GtkSeparator* gtk_separator() const; 00083 00084 operator GtkSeparator* () const; 00086 00088 }; 00089 00097 00098 class HSeparator : public Separator 00099 { 00100 friend class G::Object; 00101 00102 HSeparator(const HSeparator&); 00103 HSeparator& operator=(const HSeparator&); 00104 00105 protected: 00108 00109 explicit HSeparator(GtkHSeparator *hseparator, bool owns_reference = false); 00116 00118 00119 public: 00122 00123 HSeparator(); 00125 00126 virtual ~HSeparator(); 00128 00132 00133 GtkHSeparator* gtk_hseparator() const; 00135 00136 operator GtkHSeparator* () const; 00138 00140 }; 00141 00147 00148 class VSeparator : public Separator 00149 { 00150 friend class G::Object; 00151 00152 VSeparator(const VSeparator&); 00153 VSeparator& operator=(const VSeparator&); 00154 00155 protected: 00158 00159 explicit VSeparator(GtkVSeparator *vseparator, bool owns_reference = false); 00166 00168 00169 public: 00172 00173 VSeparator(); 00175 00176 virtual ~VSeparator(); 00178 00182 00183 GtkVSeparator* gtk_vseparator() const; 00185 00186 operator GtkVSeparator* () const; 00188 00190 }; 00191 00192 } // namespace Gtk 00193 00194 } // namespace GFC 00195 00196 #include <gfc/gtk/inline/separator.inl> 00197 00198 #endif // GFC_GTK_SEPARATOR_HH 00199

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