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.
1 AM_CPPFLAGS = -I$(top_srcdir)
2 LDADD = $(top_builddir)/lemon/libemon.la
4 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
37 check_PROGRAMS += lp_test
40 check_PROGRAMS += lp_test
44 TESTS = $(check_PROGRAMS)
45 XFAIL_TESTS = test_tools_fail$(EXEEXT)
47 bfs_test_SOURCES = bfs_test.cc
48 dfs_test_SOURCES = dfs_test.cc
49 dijkstra_test_SOURCES = dijkstra_test.cc
50 graph_test_SOURCES = graph_test.cc
51 graph_utils_test_SOURCES = graph_utils_test.cc
52 graph_adaptor_test_SOURCES = graph_adaptor_test.cc
53 kruskal_test_SOURCES = kruskal_test.cc
54 maps_test_SOURCES = maps_test.cc
55 min_cost_flow_test_SOURCES = min_cost_flow_test.cc
56 max_matching_test_SOURCES = max_matching_test.cc
57 suurballe_test_SOURCES = suurballe_test.cc
58 path_test_SOURCES = path_test.cc
59 preflow_test_SOURCES = preflow_test.cc
60 time_measure_test_SOURCES = time_measure_test.cc
61 test_tools_fail_SOURCES = test_tools_fail.cc
62 test_tools_pass_SOURCES = test_tools_pass.cc
63 unionfind_test_SOURCES = unionfind_test.cc
64 xy_test_SOURCES = xy_test.cc
65 undir_graph_test_SOURCES = undir_graph_test.cc
66 heap_test_SOURCES = heap_test.cc
68 lp_test_SOURCES = lp_test.cc
69 lp_test_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS)