Hi all, here's a self reply: that was some trivial error, but it's not visible in the mail, though. I forgot the "\n" at the end of the tag commands.....
grüßsie Thomas
----- Original Message ----- From: "Thomas Grill" t.grill@gmx.net To: "pd-dev" pd-dev@iem.kug.ac.at Sent: Thursday, August 22, 2002 1:13 AM Subject: [PD-dev] TCL/TK tags
Hi all, as i am new to TCL/TK, i encounter problems with it all the time.
Here is a simple example, the creation of two rectangles (please don't mind the strange specifiers... they are generated from
pointer
values)
.x8ff8c8.c create rectangle 69 64 169 164 -tags ec0858GUI -width 2 -fill #00ff00 -outline #00ff00 .x8ff8c8.c create rectangle 89 84 139 134 -tags ec08c8GUI -fill #0000ff
that's just ok... the second (slightly smaller one) is displayed on top of the first one.
Now, i'd like to add an additional tag (ec0728GRP) to each of them, to
e.g.
move them with a single command
.x8ff8c8.c create rectangle 69 64 169 164 -tags ec0858GUI -width 2 -fill #00ff00 -outline #00ff00 .x8ff8c8.c addtag ec0728GRP withtag ec0858GUI .x8ff8c8.c create rectangle 89 84 139 134 -tags ec08c8GUI -fill #0000ff .x8ff8c8.c addtag ec0728GRP withtag ec08c8GUI
Now, only the first (larger) one is visible... why?
many thanks, Thomas
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev