Main Page - Header
Author: The Inti Development Team

Reference Manual

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

# separator.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
    00025
    00026 #ifndef INTI_GTK_SEPARATOR_H
    00027 #define INTI_GTK_SEPARATOR_H
    00028
    00029 #ifndef INTI_GTK_WIDGET_H
    00030 #include <inti/gtk/widget.h>
    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 Inti {
    00042
    00043 namespace Gtk {
    00044
    00045 class SeparatorClass;
    00046 class HSeparatorClass;
    00047 class VSeparatorClass;
    00048
    00053
    00054 class Separator : public Widget
    00055 {
    00056         friend class G::Object;
    00057         friend class SeparatorClass;
    00058
    00059         Separator(const Separator&);
    00060         Separator& operator=(const Separator&);
    00061
    00062 protected:
    00065
    00066         Separator();
    00068
    00069         explicit Separator(GtkSeparator *separator, bool reference = false);
    00076
    00077         virtual ~Separator() = 0;
    00079
    00081
    00082 public:
    00085
    00086         GtkSeparator* gtk_separator() const { return (GtkSeparator*)instance; }
    00088
    00089         GtkSeparatorClass* gtk_separator_class() const;
    00091
    00092         operator GtkSeparator* () const;
    00094
    00096 };
    00097
    00105
    00106 class HSeparator : public Separator
    00107 {
    00108         friend class G::Object;
    00109         friend class HSeparatorClass;
    00110
    00111         HSeparator(const HSeparator&);
    00112         HSeparator& operator=(const HSeparator&);
    00113
    00114 protected:
    00117
    00118         explicit HSeparator(GtkHSeparator *hseparator, bool reference = false);
    00125
    00127
    00128 public:
    00131
    00132         HSeparator();
    00134
    00135         virtual ~HSeparator();
    00137
    00141
    00142         GtkHSeparator* gtk_hseparator() const { return (GtkHSeparator*)instance; }
    00144
    00145         GtkHSeparatorClass* gtk_hseparator_class() const;
    00147
    00148         operator GtkHSeparator* () const;
    00150
    00152 };
    00153
    00159
    00160 class VSeparator : public Separator
    00161 {
    00162         friend class G::Object;
    00163         friend class VSeparatorClass;
    00164
    00165         VSeparator(const VSeparator&);
    00166         VSeparator& operator=(const VSeparator&);
    00167
    00168 protected:
    00171
    00172         explicit VSeparator(GtkVSeparator *vseparator, bool reference = false);
    00179
    00181
    00182 public:
    00185
    00186         VSeparator();
    00188
    00189         virtual ~VSeparator();
    00191
    00195
    00196         GtkVSeparator* gtk_vseparator() const { return (GtkVSeparator*)instance; }
    00198
    00199         GtkVSeparatorClass* gtk_vseparator_class() const;
    00201
    00202         operator GtkVSeparator* () const;
    00204
    00206 };
    00207
    00208 } // namespace Gtk
    00209
    00210 } // namespace Inti
    00211
    00212 #endif // INTI_GTK_SEPARATOR_H
    00213

Main Page - Footer