Mercurial > pidgin.yaz
comparison console/libgnt/test/combo.c @ 13979:a71678d2da16
[gaim-migrate @ 16540]
Complete the notify-ui. I have been unable to test the searchresult-ui.
But "looks like" it will work.
The accounts-ui is also mostly . I am yet to add the proxy-options.
And you cannot still delete an account. That will happen after the
request-ui is complete. The account-edit dialog needs some work, but
it's usable.
Added GntCheckBox, and add some features to some other gnt-widgets.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 23 Jul 2006 01:10:06 +0000 |
parents | a06f7495af6f |
children | c5bfede33622 |
comparison
equal
deleted
inserted
replaced
13978:ea00953490a8 | 13979:a71678d2da16 |
---|---|
1 #include <gnt.h> | 1 #include <gnt.h> |
2 #include <gntbox.h> | 2 #include <gntbox.h> |
3 #include <gntbutton.h> | 3 #include <gntbutton.h> |
4 #include <gntcheckbox.h> | |
4 #include <gntcombobox.h> | 5 #include <gntcombobox.h> |
5 #include <gntlabel.h> | 6 #include <gntlabel.h> |
6 | 7 |
7 static void | 8 static void |
8 button_activated(GntWidget *b, GntComboBox *combo) | 9 button_activated(GntWidget *b, GntComboBox *combo) |
59 gnt_box_add_widget(GNT_BOX(hbox), button); | 60 gnt_box_add_widget(GNT_BOX(hbox), button); |
60 g_signal_connect(G_OBJECT(button), "activate", G_CALLBACK(button_activated), combo); | 61 g_signal_connect(G_OBJECT(button), "activate", G_CALLBACK(button_activated), combo); |
61 | 62 |
62 gnt_box_add_widget(GNT_BOX(box), hbox); | 63 gnt_box_add_widget(GNT_BOX(box), hbox); |
63 | 64 |
65 gnt_box_add_widget(GNT_BOX(box), gnt_check_box_new("check box")); | |
66 | |
64 gnt_widget_show(box); | 67 gnt_widget_show(box); |
65 | 68 |
66 #ifdef STANDALONE | 69 #ifdef STANDALONE |
67 gnt_main(); | 70 gnt_main(); |
68 | 71 |