8 #include <all_include.h>
10 #include <libgnomecanvasmm.h>
11 #include <libgnomecanvasmm/polygon.h>
13 enum {GENERAL, ALGO_NUM}; // algorithm IDs;
15 class AlgoWin : public Gtk::Dialog
21 sigc::signal<void, AlgoWin *> signal_closed;
24 sigc::signal<void, AlgoWin *> signal_closing()
29 AlgoWin(int algoid, std::vector<std::string> tabnames)
31 Gtk::VBox * vbox=get_vbox();
33 ab=new AlgoBox(tabnames);
35 vbox->pack_start(*ab);
37 add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK);
42 void update_tablist(std::vector<std::string> tabnames)
44 ab->update_tablist(tabnames);
49 signal_closed.emit(this);
50 Gtk::Dialog::on_hide();