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-event.cc

    r1606 r1614  
    623623                        canvasentrywidget->property_width().set_value(edgetextmap[active_edge]->property_text_width().get_value()*4);
    624624                        canvasentrywidget->property_height().set_value(edgetextmap[active_edge]->property_text_height().get_value()*1.5);
     625
     626                        //setting the focus to newly created widget
     627                        parentwin->set_focus(entrywidget);
     628                        parentwin->activate_focus();
    625629                      }
    626630                  }
Note: See TracChangeset for help on using the changeset viewer.