8 #include <all_include.h>
9 #include <libgnomecanvasmm.h>
10 #include <libgnomecanvasmm/polygon.h>
12 class AlgoBox : public Gtk::VBox
16 Gtk::ComboBoxText cbt;
19 AlgoBox(std::vector<std::string> tabnames)
21 update_tablist(tabnames);
23 label=new Gtk::Label("Haliho");
31 void update_tablist( std::vector< std::string > tl )
33 std::string actname=cbt.get_active_text();
39 std::vector< std::string >::iterator emsi=tl.begin();
40 for(;emsi!=tl.end();emsi++)
47 cbt.append_text(*emsi);
53 cbt.set_active(prev_act);
55 else if(actptr>0) //so there is item in the list