COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
08/07/05 16:17:11 (19 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2121
Message:

Alpar had the key, focus can be set in the window class. But it is not enough, the focused widget has to be activated, as well! Was a hard task to find out... By the way, two compilation warnings are removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas.cc

    r1606 r1614  
    33#include <math.h>
    44
    5 GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw) :
     5GraphDisplayerCanvas::GraphDisplayerCanvas(MapStorage & ms, MapWin & mw, Gtk::Window * mainwin) :
    66  nodesmap(ms.graph), edgesmap(ms.graph), edgetextmap(ms.graph),
    77  nodetextmap(ms.graph), displayed_graph(*(root()), 0, 0),
     
    99  target_item(NULL), nodemap_to_edit(""), edgemap_to_edit(""), mapwin(mw)
    1010{
     11  parentwin=mainwin;
     12
    1113  //base event handler is move tool
    1214  actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false);
Note: See TracChangeset for help on using the changeset viewer.