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, const Glib::ustring& tip = Glib::ustring());
00052
00053 Item(const Icon& icon, const Glib::ustring& label,
00054 const CallbackWithWidget& cb = CallbackWithWidget(), const Glib::ustring& tip = Glib::ustring());
00055
00056 Item(const Glib::ustring& label, const Callback& cb, const Glib::ustring& tip = Glib::ustring());
00057
00058 Item(const Glib::ustring& label, const CallbackWithWidget& cb = CallbackWithWidget(), const Glib::ustring& tip = Glib::ustring());
00059 ~Item();
00060 };
00061
00063 class ToggleItem : public Info
00064 {
00065 public:
00066 ToggleItem(const Icon& icon, const Glib::ustring& label,
00067 const Callback& cb = Callback(), const Glib::ustring& tip = Glib::ustring());
00068 ToggleItem(const Icon& icon, const Glib::ustring& label,
00069 const CallbackWithWidget& cb = CallbackWithWidget(), const Glib::ustring& tip = Glib::ustring());
00070 ToggleItem(const Glib::ustring& label, const Callback& cb = Callback(),
00071 const Glib::ustring& tip = Glib::ustring());
00072 ~ToggleItem();
00073 };
00074
00078 class Help : public Info
00079 {
00080 public:
00081 Help(const Glib::ustring& app_name);
00082 ~Help();
00083 };
00084
00085
00086
00087 class RadioTree : public Info
00088 {
00089 public:
00090 RadioTree(const Array<Info>& array);
00091 ~RadioTree();
00092 private:
00093 static GnomeUIBuilderData build_data_;
00094 };
00095
00096 }
00097 }
00098 }
00099
00100 #endif //LIBGNOMEUIMM_UI_ITEMS_DERIVED_H