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

tearoffmenuitem.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 * 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 00023 00024 #ifndef GFC_GTK_MENU_TEAROFF_ITEM_HH 00025 #define GFC_GTK_MENU_TEAROFF_ITEM_HH 00026 00027 #ifndef GFC_GTK_MENU_ITEM_HH 00028 #include <gfc/gtk/menuitem.hh> 00029 #endif 00030 00031 #ifndef __GTK_MENU_TEAROFF_ITEM_H__ 00032 #include <gtk/gtktearoffmenuitem.h> 00033 #endif 00034 00035 namespace GFC { 00036 00037 namespace Gtk { 00038 00049 00050 class TearoffMenuItem : public MenuItem 00051 { 00052 friend class G::Object; 00053 00054 TearoffMenuItem(const TearoffMenuItem&); 00055 TearoffMenuItem& operator=(const TearoffMenuItem&); 00056 00057 protected: 00060 00061 explicit TearoffMenuItem(GtkTearoffMenuItem *tearoff_menu_item, bool owns_reference = false); 00068 00070 00071 public: 00074 00075 TearoffMenuItem(); 00077 00078 virtual ~TearoffMenuItem(); 00080 00084 00085 GtkTearoffMenuItem* gtk_tearoff_menu_item() const; 00087 00088 operator GtkTearoffMenuItem* () const; 00090 00091 bool is_torn_off() const; 00093 00095 }; 00096 00097 } // namespace Gtk 00098 00099 } // namespace GFC 00100 00101 #include <gfc/gtk/inline/tearoffmenuitem.inl> 00102 00103 #endif // GFC_GTK_MENU_TEAROFF_ITEM_HH 00104

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