00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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
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 }
00090 }
00091 }
00092
00093 #endif //LIBGNOMEUIMM_UI_ITEMS_DERIVED_H