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

# invisible.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002-2003 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
    00024
    00025 #ifndef INTI_GTK_INVISIBLE_H
    00026 #define INTI_GTK_INVISIBLE_H
    00027
    00028 #ifndef INTI_GTK_WIDGET_H
    00029 #include <inti/gtk/widget.h>
    00030 #endif
    00031
    00032 #ifndef __GTK_INVISIBLE_H__
    00033 #include <gtk/gtkinvisible.h>
    00034 #endif
    00035
    00036 namespace Inti {
    00037
    00038 namespace Gtk {
    00039
    00040 class InvisibleClass;
    00041 class Screen;
    00042
    00051
    00052 class Invisible : public Widget
    00053 {
    00054         friend class G::Object;
    00055         friend class InvisibleClass;
    00056
    00057         Invisible(const Invisible&);
    00058         Invisible& operator=(const Invisible&);
    00059
    00060 protected:
    00063
    00064         explicit Invisible(GtkInvisible *invisible, bool reference = false);
    00071
    00073 //  Properties
    00074
    00075         typedef G::Property<Gdk::Screen*, G::Object*> ScreenPropertyType;
    00076         typedef G::PropertyProxy<G::Object, ScreenPropertyType> ScreenPropertyProxy;
    00077         static const ScreenPropertyType screen_property;
    00078
    00079 public:
    00082
    00083         Invisible();
    00085
    00086         explicit Invisible(const Gdk::Screen& screen);
    00089
    00090         virtual ~Invisible();
    00092
    00096
    00097         GtkInvisible* gtk_invisible() const { return (GtkInvisible*)instance; }
    00099
    00100         GtkInvisibleClass* gtk_invisible_class() const;
    00102
    00103         operator GtkInvisible* () const;
    00105
    00106         Gdk::Screen* get_screen() const;
    00111
    00115
    00116         void set_screen(const Gdk::Screen& screen);
    00119
    00123
    00124         const ScreenPropertyProxy prop_screen()
    00125         {
    00126                 return ScreenPropertyProxy(this, &screen_property);
    00127         }
    00129
    00131 };
    00132
    00133 } // namespace Gtk
    00134
    00135 } // namespace Inti
    00136
    00137 #endif // INTI_GTK_INVISIBLE_H
    00138

Main Page - Footer