COIN-OR::LEMON - Graph Library

Changeset 1614:350c1d8bb7cc in lemon-0.x for gui/graph_displayer_canvas.h


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.h

    r1606 r1614  
    1919
    2020public:
    21   GraphDisplayerCanvas(MapStorage &, MapWin &);
     21  GraphDisplayerCanvas(MapStorage &, MapWin &, Gtk::Window *);
    2222  virtual ~GraphDisplayerCanvas();
    2323
     
    178178  MapWin & mapwin;
    179179
     180  ///We need to store the parent window to be able to set the focus on a given widget
     181  ///We will use this variable to activate the set focus on entry widget in the case of editing map values.
     182  Gtk::Window * parentwin;
     183
    180184};
    181185
Note: See TracChangeset for help on using the changeset viewer.