]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - viewer/main.cpp
6f3f2db0577d378e249c62ca25209de6a30a6ca4
[z.facultad/75.52/treemulator.git] / viewer / main.cpp
1
2 #include <iostream>
3
4 #include <gtkmm.h>
5 #include <libgnomecanvasmm.h>
6
7 #include "view_btree.h"
8
9 using namespace Gnome::Canvas;
10
11 int main(int argc, char *argv[])
12 {
13         Gtk::Main kit(argc, argv);
14
15         Gnome::Canvas::init ();
16
17         Gtk::Window window;
18         Gnome::Canvas::Canvas canvas;
19
20         ViewBTree canvas_grp (canvas.root (), "test.idx");
21
22         window.add (canvas);
23         window.set_size_request (800, 100);
24         window.show_all ();
25
26         Gtk::Main::run(window);
27                                                             
28         return 0;
29 }