Mercurial > pidgin
diff console/libgnt/test/multiwin.c @ 13907:cc60d0861337
[gaim-migrate @ 16402]
This commit has 1234 lines of diff :)
Windows can now be moved (alt+m, then the arrow keys, then escape/enter).
Add a window to enable/disable accounts. But the 'add' etc. buttons don't
have any callbacks yet. I am going to need to do some more widgets (checkbox,
combobox) before I do anything else.
I have also updated the test programs to work with the changes in libgnt.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 02 Jul 2006 22:13:06 +0000 |
parents | a621329e8c85 |
children | fdf2dbed6faa |
line wrap: on
line diff
--- a/console/libgnt/test/multiwin.c Sun Jul 02 21:52:06 2006 +0000 +++ b/console/libgnt/test/multiwin.c Sun Jul 02 22:13:06 2006 +0000 @@ -49,7 +49,7 @@ gnt_tree_add_row_after(GNT_TREE(tree), "e", "e", "a", NULL); gnt_tree_add_row_after(GNT_TREE(tree), "b", "b", "d", NULL); - gnt_tree_add_row_after(GNT_TREE(tree), "1", "1", NULL, NULL); + gnt_tree_add_choice(GNT_TREE(tree), "1", "1", NULL, NULL); gnt_tree_add_row_after(GNT_TREE(tree), "2", "2", NULL, NULL); gnt_tree_add_row_after(GNT_TREE(tree), "3", "3", NULL, NULL); gnt_tree_add_row_after(GNT_TREE(tree), "4", "4", "a", NULL); @@ -60,6 +60,8 @@ gnt_main(); + gnt_quit(); + return 0; }