Mercurial > dwindows
diff dwtest.c @ 1667:9dbd2984c1e5
Initial implementation of dw_box_remove() and dw_box_remove_at_index()
for OS/2, Windows and template. Mac and GTK2/3 versions coming soon.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 26 Apr 2012 20:33:39 +0000 |
parents | 38da4aa23b7c |
children | 31dd366acfc8 |
line wrap: on
line diff
--- a/dwtest.c Tue Apr 24 16:30:11 2012 +0000 +++ b/dwtest.c Thu Apr 26 20:33:39 2012 +0000 @@ -882,13 +882,16 @@ dw_box_pack_start(lbbox, buttonbox, 0, 0, TRUE, TRUE, 0); + cancelbutton = dw_button_new("Exit", 1002L); + dw_box_pack_start(buttonbox, cancelbutton, 130, 30, TRUE, TRUE, 2); + cursortogglebutton = dw_button_new("Set Cursor pointer - CLOCK", 1003L); dw_box_pack_start(buttonbox, cursortogglebutton, 130, 30, TRUE, TRUE, 2); okbutton = dw_button_new("Turn Off Annoying Beep!", 1001L); dw_box_pack_start(buttonbox, okbutton, 130, 30, TRUE, TRUE, 2); - cancelbutton = dw_button_new("Exit", 1002L); + dw_box_remove(cancelbutton); dw_box_pack_start(buttonbox, cancelbutton, 130, 30, TRUE, TRUE, 2); dw_window_click_default( mainwindow, cancelbutton );