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

radiomenuitem.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  
00024 
00025 #ifndef INTI_GTK_RADIO_MENU_ITEM_H
00026 #define INTI_GTK_RADIO_MENU_ITEM_H
00027 
00028 #ifndef INTI_GTK_MENU_CHECK_ITEM_H
00029 #include <inti/gtk/checkmenuitem.h>
00030 #endif
00031 
00032 #ifndef __GTK_RADIO_MENU_ITEM_H__
00033 #include <gtk/gtkradiomenuitem.h>
00034 #endif
00035 
00036 namespace Inti {
00037 
00038 namespace Gtk {
00039 
00040 class RadioMenuItemClass;
00041 
00067 
00068 class RadioMenuItem : public CheckMenuItem
00069 {
00070         friend class G::Object;
00071         friend class RadioMenuItemClass;
00072 
00073         RadioMenuItem(const RadioMenuItem&);
00074         RadioMenuItem& operator=(const RadioMenuItem&);
00075         
00076 protected:
00079 
00080         explicit RadioMenuItem(GtkRadioMenuItem *radio_menu_item, bool reference = false);
00087 
00089 
00090 public:
00091         typedef GSList Group;
00093 
00096 
00097         RadioMenuItem();
00099 
00100         explicit RadioMenuItem(Group *group);
00103  
00104         explicit RadioMenuItem(const RadioMenuItem *group);
00107 
00108         explicit RadioMenuItem(const String& label, bool use_underline = false);
00112 
00113         RadioMenuItem(Group *group, const String& label, bool use_underline = false);
00118 
00119         RadioMenuItem(const RadioMenuItem *group, const String& label, bool use_underline = false);
00124 
00125         virtual ~RadioMenuItem();
00127         
00131 
00132         GtkRadioMenuItem* gtk_radio_menu_item() const { return (GtkRadioMenuItem*)instance; }
00134         
00135         GtkRadioMenuItemClass* gtk_radio_menu_item_class() const;
00137         
00138         operator GtkRadioMenuItem* () const;
00140         
00141         Group* get_group() const;
00143 
00147 
00148         void set_group(Group *group);
00151         
00153 };
00154 
00155 } // namespace Gtk
00156 
00157 } // namespace Inti
00158 
00159 #endif // INTI_GTK_RADIO_MENU_ITEM_H
00160 
Main Page - Footer


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