comparison console/libgnt/test/focus.c @ 13953:8b2306c64efa

[gaim-migrate @ 16501] Minor adjustments to the packing of child widgets in a box. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 17 Jul 2006 04:30:50 +0000
parents 25be562aaca8
children a06f7495af6f
comparison
equal deleted inserted replaced
13952:841a5ffbfee4 13953:8b2306c64efa
30 box(stdscr, 0, 0); 30 box(stdscr, 0, 0);
31 wrefresh(stdscr); 31 wrefresh(stdscr);
32 32
33 vbox = gnt_box_new(FALSE, FALSE); 33 vbox = gnt_box_new(FALSE, FALSE);
34 hbox = gnt_box_new(FALSE, TRUE); 34 hbox = gnt_box_new(FALSE, TRUE);
35 gnt_box_set_alignment(GNT_BOX(hbox), GNT_ALIGN_MID);
35 36
36 gnt_widget_set_name(vbox, "vbox"); 37 gnt_widget_set_name(vbox, "vbox");
37 gnt_widget_set_name(hbox, "hbox"); 38 gnt_widget_set_name(hbox, "hbox");
38 39
39 gnt_box_add_widget(GNT_BOX(hbox), label); 40 gnt_box_add_widget(GNT_BOX(hbox), label);