Mercurial > dwindows
comparison dwtest.c @ 1463:77f530f95826
Fixed error in _dw_msleep on Solaris... fix was already in dwcompat.
Also removed some incorrect code in dwtest screwing up the tree page.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 17 Dec 2011 11:34:25 +0000 |
parents | 09323eb9dc32 |
children | 0f9c6f7636db |
comparison
equal
deleted
inserted
replaced
1462:677ca99a8700 | 1463:77f530f95826 |
---|---|
98 stext, | 98 stext, |
99 tree, | 99 tree, |
100 container, | 100 container, |
101 container_mle, | 101 container_mle, |
102 pagebox, | 102 pagebox, |
103 treebox, | |
104 containerbox, | 103 containerbox, |
105 textbox1, textbox2, textboxA, | 104 textbox1, textbox2, textboxA, |
106 gap_box, | 105 gap_box, |
107 buttonbox, | 106 buttonbox, |
108 buttonsbox, | 107 buttonsbox, |
1052 dw_listbox_append(listbox, "Test 2"); | 1051 dw_listbox_append(listbox, "Test 2"); |
1053 dw_listbox_append(listbox, "Test 3"); | 1052 dw_listbox_append(listbox, "Test 3"); |
1054 dw_listbox_append(listbox, "Test 4"); | 1053 dw_listbox_append(listbox, "Test 4"); |
1055 dw_listbox_append(listbox, "Test 5"); | 1054 dw_listbox_append(listbox, "Test 5"); |
1056 | 1055 |
1057 /* create a box to pack into the notebook page */ | |
1058 treebox = dw_box_new(BOXHORZ, 2); | |
1059 dw_box_pack_start( notebookbox3, treebox, 500, 200, TRUE, TRUE, 0); | |
1060 | |
1061 /* now a tree area under this box */ | 1056 /* now a tree area under this box */ |
1062 tree = dw_tree_new(101); | 1057 tree = dw_tree_new(101); |
1063 dw_box_pack_start( notebookbox3, tree, 500, 200, TRUE, FALSE, 1); | 1058 dw_box_pack_start( notebookbox3, tree, 500, 200, TRUE, TRUE, 1); |
1064 | 1059 |
1065 /* and a status area to see whats going on */ | 1060 /* and a status area to see whats going on */ |
1066 tree_status = dw_status_text_new("", 0); | 1061 tree_status = dw_status_text_new("", 0); |
1067 dw_box_pack_start( notebookbox3, tree_status, 100, 20, TRUE, FALSE, 1); | 1062 dw_box_pack_start( notebookbox3, tree_status, 100, 20, TRUE, FALSE, 1); |
1068 | 1063 |