Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
13906:b986b6e2441b | 13907:cc60d0861337 |
---|---|
47 gnt_tree_add_row_after(GNT_TREE(tree), "c", "c", NULL, NULL); | 47 gnt_tree_add_row_after(GNT_TREE(tree), "c", "c", NULL, NULL); |
48 gnt_tree_add_row_after(GNT_TREE(tree), "d", "d", NULL, NULL); | 48 gnt_tree_add_row_after(GNT_TREE(tree), "d", "d", NULL, NULL); |
49 gnt_tree_add_row_after(GNT_TREE(tree), "e", "e", "a", NULL); | 49 gnt_tree_add_row_after(GNT_TREE(tree), "e", "e", "a", NULL); |
50 gnt_tree_add_row_after(GNT_TREE(tree), "b", "b", "d", NULL); | 50 gnt_tree_add_row_after(GNT_TREE(tree), "b", "b", "d", NULL); |
51 | 51 |
52 gnt_tree_add_row_after(GNT_TREE(tree), "1", "1", NULL, NULL); | 52 gnt_tree_add_choice(GNT_TREE(tree), "1", "1", NULL, NULL); |
53 gnt_tree_add_row_after(GNT_TREE(tree), "2", "2", NULL, NULL); | 53 gnt_tree_add_row_after(GNT_TREE(tree), "2", "2", NULL, NULL); |
54 gnt_tree_add_row_after(GNT_TREE(tree), "3", "3", NULL, NULL); | 54 gnt_tree_add_row_after(GNT_TREE(tree), "3", "3", NULL, NULL); |
55 gnt_tree_add_row_after(GNT_TREE(tree), "4", "4", "a", NULL); | 55 gnt_tree_add_row_after(GNT_TREE(tree), "4", "4", "a", NULL); |
56 gnt_tree_add_row_after(GNT_TREE(tree), "5", "5", "d", NULL); | 56 gnt_tree_add_row_after(GNT_TREE(tree), "5", "5", "d", NULL); |
57 | 57 |
58 gnt_tree_add_row_after(GNT_TREE(tree), "6", "6", "4", NULL); | 58 gnt_tree_add_row_after(GNT_TREE(tree), "6", "6", "4", NULL); |
59 g_timeout_add(1000, (GSourceFunc)show, hbox); | 59 g_timeout_add(1000, (GSourceFunc)show, hbox); |
60 | 60 |
61 gnt_main(); | 61 gnt_main(); |
62 | 62 |
63 gnt_quit(); | |
64 | |
63 return 0; | 65 return 0; |
64 } | 66 } |
65 | 67 |