Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ui-items-derived.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2000-2002 The libgnomeuimm development team
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library 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 GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the Free
00016  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00017  *
00018  */
00019 
00020 
00021 #ifndef LIBGNOMEUIMM_UI_ITEMS_DERIVED_H
00022 #define LIBGNOMEUIMM_UI_ITEMS_DERIVED_H
00023 
00024 #include <libgnomeuimm/app-helper.h>
00025 
00026 namespace Gnome
00027 {
00028 
00029 namespace UI
00030 {
00031 
00032 namespace Items
00033 {
00034 
00035 class Separator : public Info
00036 {
00037 public:
00038   Separator();
00039   ~Separator();
00040   operator Gtk::Menu_Helpers::Element();
00041 };
00042 
00043 
00045 class Item : public Info
00046 {
00047 protected:
00048   Item();
00049 public:
00050   Item(const Icon& icon, const Glib::ustring& label,
00051        const Callback& cb = Callback(), const Glib::ustring& tip = Glib::ustring());
00052   Item(const Glib::ustring& label, const Callback& cb = Callback(), const Glib::ustring& tip = Glib::ustring());
00053 
00054   ~Item();
00055 };
00056 
00058 class ToggleItem : public Info
00059 {
00060 public:
00061   ToggleItem(const Icon& icon, const Glib::ustring& label,
00062              const Callback& cb = Callback(), const Glib::ustring& tip = Glib::ustring());
00063   ToggleItem(const Glib::ustring& label, const Callback& cb = Callback(),
00064              const Glib::ustring& tip = Glib::ustring());
00065   ~ToggleItem();
00066 };
00067 
00071 class Help : public Info
00072 {
00073 public:
00074   Help(const Glib::ustring& app_name);
00075   ~Help();
00076 };
00077 
00078 
00079 // this tree can only hold Items.
00080 class RadioTree : public Info
00081 {
00082 public:
00083   RadioTree(const Array<Info>& array);
00084   ~RadioTree();
00085 private:
00086   static GnomeUIBuilderData build_data_;
00087 };
00088 
00089 } // namespace Items
00090 } // namespace UI
00091 } // namespace Gnome
00092 
00093 #endif //LIBGNOMEUIMM_UI_ITEMS_DERIVED_H

Generated on Wed Feb 2 04:36:53 2005 for libgnomeuimm by  doxygen 1.4.1