Mercurial > dwindows
diff dwtest.c @ 350:2216e65ad2ae
Removed slider flags and container selection flags from the header file.
Added "multi" parameter to dw_container_new() to control multiple
selection.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 14 Apr 2003 13:47:20 +0000 |
parents | 5d3f2e2dcc6b |
children | d8176c73a081 |
line wrap: on
line diff
--- a/dwtest.c Sun Apr 13 09:04:50 2003 +0000 +++ b/dwtest.c Mon Apr 14 13:47:20 2003 +0000 @@ -404,6 +404,8 @@ mle_point = dw_mle_import( container_mle, buf, mle_point); str = dw_container_query_next(container, DW_CRA_SELECTED); } + /* Make the last inserted point the cursor location */ + dw_mle_set(container_mle, mle_point); return 0; } @@ -581,7 +583,7 @@ dw_box_pack_start( notebookbox4, containerbox, 500, 200, TRUE, TRUE, 0); /* now a container area under this box */ - container = dw_container_new(100); + container = dw_container_new(100, TRUE); dw_box_pack_start( notebookbox4, container, 500, 200, TRUE, FALSE, 1); /* and a status area to see whats going on */