added scrollbars to the canvas gui
authorladanyi
Thu, 27 Apr 2006 13:10:23 +0000
branchgui
changeset 136924607a2d4a1
parent 135 84996003b01c
child 137 776d0e98fed0
added scrollbars to the canvas
nbtab.cc
     1.1 --- a/nbtab.cc	Thu Apr 27 12:20:09 2006 +0000
     1.2 +++ b/nbtab.cc	Thu Apr 27 13:10:23 2006 +0000
     1.3 @@ -2,8 +2,10 @@
     1.4  
     1.5  NoteBookTab::NoteBookTab():mapwinexists(false)
     1.6  {
     1.7 +  Gtk::ScrolledWindow *pScrolledWindow = manage(new Gtk::ScrolledWindow);
     1.8    gd_canvas=new GraphDisplayerCanvas(*this);
     1.9 -  add(*gd_canvas);
    1.10 +  pScrolledWindow->add(*gd_canvas);
    1.11 +  add(*pScrolledWindow);
    1.12  
    1.13    //connecting signals - controller character
    1.14    mapstorage.signal_prop_ch().connect(sigc::mem_fun(*gd_canvas, &GraphDisplayerCanvas::propertyChange));