// generated 2002/7/29 18:27:31 CEST by free@mandrake82.maison.fr // using glademm V0.6.4 // // newer (non customized) versions of this file go to MMITreeBrowser.hh_new // you might replace // class foo : public foo_glade { ... }; // by // typedef foo_glade foo; // if you didn't make any modifications to the widget #ifndef _MMITREEBROWSER_HH # include "MMITreeBrowser_glade.hh" # include "MMIBrowser.hh" # define _MMITREEBROWSER_HH #include "glademm_support.hh" #include #include class MMITreeBrowser : public MMITreeBrowser_glade, MMIBrowser { public: virtual std::string const getSelectedId(void) const; virtual void Select(std::string const &id); void clear(void); void show(void); int addParent(std::string const &child_id, std::string const &parent_id, std::string const &parent_label); Gtk::Tree * const getTree(void); void treeItemExpanded_cb(Gtk::TreeItem *); void treeItemSelected_cb(Gtk::TreeItem *); private: std::map < std::string, Gtk::TreeItem *> _nodes; std::map < Gtk::TreeItem *, std::string> _ids; friend class MMITreeBrowser_glade; }; #endif