Changeset 1502:371aba7d61ca in lemon-0.x
- Timestamp:
- 06/17/05 16:20:49 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1983
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/main_win.cc
r1468 r1502 38 38 sigc::mem_fun(*this, &MainWin::showEditorials)); 39 39 40 ag->add( Gtk::Action::create("CreateNode", Gtk::Stock::NO), 41 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 1) ); 42 ag->add( Gtk::Action::create("CreateEdge", Gtk::Stock::REMOVE), 43 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 2) ); 44 ag->add( Gtk::Action::create("EraseItem", Gtk::Stock::DELETE), 45 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 3) ); 46 ag->add( Gtk::Action::create("MoveItem", Gtk::Stock::CONVERT), 47 sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 0) ); 48 40 49 uim=Gtk::UIManager::create(); 41 50 uim->insert_action_group(ag); … … 75 84 " <toolitem action='ViewZoomFit' />" 76 85 " <toolitem action='ViewZoom100' />" 86 " <separator />" 87 " <toolitem action='CreateNode' />" 88 " <toolitem action='CreateEdge' />" 89 " <toolitem action='EraseItem' />" 90 " <toolitem action='MoveItem' />" 77 91 " </toolbar>" 78 92 "</ui>";
Note: See TracChangeset
for help on using the changeset viewer.