Mercurial > pidgin.yaz
comparison console/libgnt/test/focus.c @ 13943:25be562aaca8
[gaim-migrate @ 16480]
New widget GntLine to use as a separator.
A partial dialog for add-account callback. Updating the dialog
as a result of selection-change in the prpl dropdown is way ickier
than I had expected it to be. It 'works' now, but quite a bit
quirky. I will try to smooth things up later, perhaps next week.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 10 Jul 2006 23:55:24 +0000 |
parents | cc60d0861337 |
children | 8b2306c64efa |
comparison
equal
deleted
inserted
replaced
13942:b14fdab68eac | 13943:25be562aaca8 |
---|---|
18 gnt_widget_show(w); | 18 gnt_widget_show(w); |
19 } | 19 } |
20 | 20 |
21 int main() | 21 int main() |
22 { | 22 { |
23 freopen(".error", "w", stderr); | |
23 gnt_init(); | 24 gnt_init(); |
24 | 25 |
25 GntWidget *label = gnt_label_new("So wassup dudes and dudettes!!\nSo this is, like,\nthe third line!! \\o/"); | 26 GntWidget *label = gnt_label_new("So wassup dudes and dudettes!!\nSo this is, like,\nthe third line!! \\o/"); |
26 GntWidget *vbox, *hbox, *tree, *box, *button; | 27 GntWidget *vbox, *hbox, *tree, *box, *button; |
27 WINDOW *test; | 28 WINDOW *test; |
28 | 29 |
29 box(stdscr, 0, 0); | 30 box(stdscr, 0, 0); |
30 wrefresh(stdscr); | 31 wrefresh(stdscr); |
31 | 32 |
32 vbox = gnt_box_new(FALSE, FALSE); | 33 vbox = gnt_box_new(FALSE, FALSE); |
33 hbox = gnt_box_new(TRUE, TRUE); | 34 hbox = gnt_box_new(FALSE, TRUE); |
34 | 35 |
35 gnt_widget_set_name(vbox, "vbox"); | 36 gnt_widget_set_name(vbox, "vbox"); |
36 gnt_widget_set_name(hbox, "hbox"); | 37 gnt_widget_set_name(hbox, "hbox"); |
37 | 38 |
38 gnt_box_add_widget(GNT_BOX(hbox), label); | 39 gnt_box_add_widget(GNT_BOX(hbox), label); |