TreeEdges now connect to fixed anchors instead of closest anchors.
[av.git] / gtk / README
blob1959432826c58e6ba6ef7f2642fa3cc83401bed3
1 Dependencies:
3 Boost 1.34.1: This is required by the JSON parser. It can be downloaded from
4 http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041
6 Gtkmm 2.4: The link to the Mac OSX port of Gtkmm seemed to be dead, here is a
7 link to the source tarball. http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.14/
9 libglademm 2.6: This is required for parsing the UI description file. It can be
10 downloaded from http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/
12 Dependencies for gtkmm and the installation instructions can be found at
13 http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-installation.html
16 Building Instructions:
18 After unpacking the gzipped tarball, you need to run "automake" first to
19 generate the Makefile.in files. Then you can do "configure" and "make -j5" to
20 get it built.
22 If the building goes well, you don't need to install it in order to run the
23 program. Make sure you are in the "avt/" directory where the "glade" directory
24 is, and run "src/avt", then the program will start. A list of shortcuts are
25 listed below.
27 The test data is a JSON text file prepared by the old Python script for testing
28 purpose. It's the one that I used to demonstrate to you on the meeting.
30 (A tab-width of 4 characters is used for the code.)
33 Key Bindings:
35 Ctrl-o                  Opens an alignment file.
37 Ctrl-q                  Quits.
39 Ctrl-Left Mouse Button  Selects multiple nodes.
41 Ctrl-g                  Groups the selected nodes.
43 Ctrl-e                  Creates an alignment edge.
45 Ctrl-Left Arrow         Scale down horizontally.
47 Ctrl-Right Arrow        Scale up horizontally.
49 Ctrl-Up Arrow           Scale up vertically.
51 Ctrl-Down Arrow         Scale down vertically.
53 Alt-e                   Creates a tree edge with the selected node as child.
55 Enter                   Edits the text of the selected node.
57 Delete                  Deletes the highlighted edge.
59 h                       Shows/hides the information pane.
61 f                       Flips the tree structure direction.
63 Drag at the end of the sentence to rotate.
65 Right click to get the context menu.