From: <kr_...@us...> - 2003-10-07 21:59:29
|
Update of /cvsroot/htoolkit/port/src/cbits/GTK In directory sc8-pr-cvs1:/tmp/cvs-serv21972/src/cbits/GTK Modified Files: Window.c Log Message: make possible to hide/show controls at any time Index: Window.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/GTK/Window.c,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Window.c 7 Oct 2003 21:31:33 -0000 1.34 --- Window.c 7 Oct 2003 21:59:25 -0000 1.35 *************** *** 759,762 **** --- 759,770 ---- } + void osSetControlVisible(WindowHandle ctrl, BOOL visible) + { + if (visible) + gtk_widget_show(ctrl); + else + gtk_widget_hide(ctrl); + } + static GtkTooltips *gTooltips; |