On Mon, Jan 03, 2005 at 10:55:45PM +0100, Tim Blechmann wrote:
::ix::grid changes colors - #div is the # of slices, rest should be explanatory:
#w 128 #h 128 #x 0.5 #y 0.5#. #fg red #bg blue #ln yellow#. #shape rectangle #size 12 #div 5
this grid is nice ... but not for a long time:
stderr: tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent tcl error: in ::toxy::typeinits: window name "grid" already exists in parent widget/widget's widget/widget's widget/widget's widget/widget's widget/widget's widget/widget's widget/widget's
woops, wrap the inside of grid_new with if {[winfo exists $path.grid] != 1} { .... }
or just grab the new file. i proably should test all the widgets to make sure they actually work after a minimize...
do you want snap-to-gridlines?
console: using file 'setup.wid' using a separate grid's definition file error: creation failure ... you might be able to track this down from the Find menu. error: creation failure error: creation failure error: creation failure error: creation failure error: creation failure error: creation failure widget grid g5a #bg white #fg purple #div 5 #shape rectangle #w 95 #h 95 #ln pink #x 0.889764 #size 56 -width 55 -height 55... couldn't create widget grid g3 ... couldn't create widget grid g4 #fg orange #bg black #w 294 #h 159 #div 0 ... couldn't create widget grid gg #shape oval #bg orange #fg pink #ln white #div 2 #size 23... couldn't create widget grid bllldie #bg red #fg white #ln gray #shape arc #size 44 #div 6... couldn't create widget grid g3902 #bg green #fg gray #ln yellow #div 3 #w 97 #h 97 ... couldn't create
after redrawing the pd canvas (switching window, miniaturize, shade) the widgets don't reappear ...
any idea?
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list