Update of /cvsroot/pure-data/externals/bbogart/entry In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25099
Modified Files: entry.c Log Message: Fixed disapearing widget on minimzation bug thanks to Guenter!
Index: entry.c =================================================================== RCS file: /cvsroot/pure-data/externals/bbogart/entry/entry.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** entry.c 20 Mar 2004 23:52:47 -0000 1.1 --- entry.c 17 Oct 2004 01:22:55 -0000 1.2 *************** *** 130,133 **** --- 130,137 ----
/* Create text widget */ + + /* Seems we have to delete the widget in case it already exists (Provided by Guenter)*/ + sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x); + sys_vgui("set %xw .x%x.c.s%x ; text $%xw -font {helvetica 10} -border 1 -highlightthickness 1 -relief sunken -bg "%s" -fg "%s" \n", x,canvas,x,x,x->x_bgcolour->s_name,x->x_fgcolour->s_name);