changeset 845:7331b7c9f1c9

Added listbox to the tree page... to test the tree view support... which is used in the listbox for GTK3.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 29 Mar 2011 23:45:37 +0000
parents 5103d132c3cd
children a75e798ee6ed
files dwtest.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);