# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1301442337 0 # Node ID 7331b7c9f1c942188ab4aedbc2eb88c9d1e67a7d # Parent 5103d132c3cdfd4f27fc2e823efe7807f35c3d28 Added listbox to the tree page... to test the tree view support... which is used in the listbox for GTK3. diff -r 5103d132c3cd -r 7331b7c9f1c9 dwtest.c --- a/dwtest.c Tue Mar 29 23:25:20 2011 +0000 +++ b/dwtest.c Tue Mar 29 23:45:37 2011 +0000 @@ -763,6 +763,16 @@ void tree_add(void) { HTREEITEM t1,t2,t3,t4,t5,t6; + HWND listbox; + + /* create a box to pack into the notebook page */ + listbox = dw_listbox_new(1024, TRUE); + dw_box_pack_start( notebookbox3, listbox, 500, 200, TRUE, TRUE, 0); + dw_listbox_append(listbox, "Test 1"); + dw_listbox_append(listbox, "Test 2"); + dw_listbox_append(listbox, "Test 3"); + dw_listbox_append(listbox, "Test 4"); + dw_listbox_append(listbox, "Test 5"); /* create a box to pack into the notebook page */ treebox = dw_box_new(BOXHORZ, 2);