| Subject: | Re: Not able to bind <B1-Button>? |
|---|---|
| From: | "Donal K. Fellows" |
| Date: | Fri, 30 May 2008 03:03:58 -0700 PDT |
| Newsgroups: | comp.lang.tcl |
Dave Bodenstab wrote: > I must be missing something incredibly obvious, but > why do I not get anything printed when I click with > mouse button 1? I've tried a couple of different > window mgr's on X11, and also tried on windows. > > bind . <B1-Button> "puts %W" That detects clicking a button while button #1 is pressed, i.e. mouse chords. For simple clicks, you want <Button-1> (which can be shortened to <1>). Donal. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: merging variables and arrays ..., Donal K. Fellows |
|---|---|
| Next by Date: | Re: Not able to bind <B1-Button>?, Andreas Leitgeb |
| Previous by Thread: | Re: Not able to bind <B1-Button>?, Dave Bodenstab |
| Next by Thread: | socket question, Stuart |
| Indexes: | [Date] [Thread] [Top] [All Lists] |