Another tcl question

From: mike l (thuang2_at_hotmail.com)
Date: 11/30/03


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!



Relevant Pages

  • Re: sequence point problem
    ... makes it clear that a sequence point separates the ... However that word appears in a context where it ... I've never thought that the reading I said above was reasonable. ... prevent it from being put before evaluating arguments, ...
    (comp.std.c)
  • Re: newbie read/write quesion
    ... if getting that sequence of characters is expected ... then lseek() to the end of file and start writing. ... file position is not well undefined, and when you switch from reading ...
    (comp.lang.c)
  • Re: Of Mice and Straw Men
    ... >> sequence, L. Each such snippet has a length no more than L. That means ... > mutations verses other types of mutations. ... inserted into any of L possible locations in the genome. ...
    (talk.origins)
  • Re: Inequality with max I want to understand
    ... A general question for anyone still reading. ... It also makes an assumption that another sequence is ... time but you can slip down multiple stairs. ... So I started thinking that there are likely books that contain things ...
    (sci.math)
  • Re: General question about Python design goals
    ... > different purposes. ... > usage of a tuple is as a heterogenous sequence. ... > from reading about it here, I saw the light on this, and since then ...
    (comp.lang.python)