Gnome::Canvas::init ();
Gtk::Window window;
+ Gtk::ScrolledWindow area;
Gnome::Canvas::Canvas canvas;
ViewBTree canvas_grp (canvas.root (), "test.idx");
-
- window.add (canvas);
- window.set_size_request (800, 100);
+ canvas.set_scroll_region (0, 0, 5000, 5000);
+ area.add (canvas);
+ window.add (area);
+ window.set_size_request (640, 480);
window.show_all ();
Gtk::Main::run(window);