Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

tearoffmenuitem.h

Go to the documentation of this file.
00001 /*  Inti: Integrated Foundation Classes
00002  *  Copyright (C) 2002 The Inti Development Team.
00003  *
00004  *  it under the terms of the GNU General Public License as published by
00005  *  the Free Software Foundation; either version 2 of the License, or
00006  *  (at your option) any later version.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU Library General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU Library General Public License
00014  *  along with this program; if not, write to the Free Software
00015  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00016  */
00017 
00022 
00023 #ifndef INTI_GTK_MENU_TEAROFF_ITEM_H
00024 #define INTI_GTK_MENU_TEAROFF_ITEM_H
00025 
00026 #ifndef INTI_GTK_MENU_ITEM_H
00027 #include <inti/gtk/menuitem.h>
00028 #endif
00029 
00030 #ifndef __GTK_MENU_TEAROFF_ITEM_H__
00031 #include <gtk/gtktearoffmenuitem.h>
00032 #endif
00033 
00034 namespace Inti {
00035 
00036 namespace Gtk {
00037 
00038 class TearoffMenuItemClass;
00039 
00050 
00051 class TearoffMenuItem : public MenuItem
00052 {
00053         friend class G::Object;
00054         friend class TearoffMenuItemClass;
00055 
00056         TearoffMenuItem(const TearoffMenuItem&);
00057         TearoffMenuItem& operator=(const TearoffMenuItem&);
00058         
00059 protected:
00062 
00063         explicit TearoffMenuItem(GtkTearoffMenuItem *tearoff_menu_item, bool reference = false);
00070 
00072 
00073 public:
00076 
00077         TearoffMenuItem();
00079 
00080         virtual ~TearoffMenuItem();
00082         
00086 
00087         GtkTearoffMenuItem* gtk_tearoff_menu_item() const { return (GtkTearoffMenuItem*)instance; }
00089 
00090         GtkTearoffMenuItemClass* gtk_tearoff_menu_item_class() const;
00092 
00093         operator GtkTearoffMenuItem* () const;
00095 
00096         bool is_torn_off() const;
00098         
00100 };
00101 
00102 } // namespace Gtk
00103 
00104 } // namespace Inti
00105 
00106 #endif // INTI_GTK_MENU_TEAROFF_ITEM_H
00107 
Main Page - Footer


Generated on Sun Sep 14 20:08:04 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002