Documentation of MapSelector. If no default value is present in MapSelector, Reset button does not appear.
8 #include <all_include.h>
10 #include <mapselector.h>
11 #include <libgnomecanvasmm.h>
12 #include <libgnomecanvasmm/polygon.h>
14 ///This class is responsible for creating a window,
15 ///on which the visualization attributes can be
17 class MapWin : public Gtk::Window
24 MapSelector ** e_combo_array, ** n_combo_array;
31 ///Constructor of MapWin creates the widgets shown in MapWin.
32 MapWin(const std::string& title, std::vector<std::string>, std::vector<std::string>, NoteBookTab & mw);
36 virtual bool on_delete_event(GdkEventAny *);
38 void nodeMapChanged(std::string, int);
40 void edgeMapChanged(std::string, int);
42 void newMapWinNeeded(bool);
44 ///This function inserts name of the new edgemap in the list in the combo box
45 void registerNewEdgeMap(std::string);
47 ///This function inserts name of the new nodemap in the list in the combo box
48 void registerNewNodeMap(std::string);
50 virtual bool closeIfEscapeIsPressed(GdkEventKey*);
52 void update(std::vector<std::string>, std::vector<std::string>);