Another tcl question
From: mike l (thuang2_at_hotmail.com)
Date: 11/30/03
- Next message: Ferenc Engard: "tktable question"
- Previous message: ulis: "Re: for problem..."
- Next in thread: Jeff Godfrey: "Re: Another tcl question"
- Reply: Jeff Godfrey: "Re: Another tcl question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 20:55:06 -0500
Hi,
I was reading a snippet of tcl code. Something I
don't quite understand.
$c bind tag <1> {
set item [%W find withtag current]
set a(tag) [%W itemcget $item -text]
...
}
In the code, <1> is a sequence number. But what is it
for? What is 'withtag' for? What is 'current'? What does
this piece of code do? Thanks a lot!
- Next message: Ferenc Engard: "tktable question"
- Previous message: ulis: "Re: for problem..."
- Next in thread: Jeff Godfrey: "Re: Another tcl question"
- Reply: Jeff Godfrey: "Re: Another tcl question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|