comp.lang.tcl
[Top] [All Lists]

Re: Not able to bind <B1-Button>?

Subject: Re: Not able to bind <B1-Button>?
From: Dave Bodenstab
Date: Sat, 31 May 2008 13:56:07 -0500
Newsgroups: comp.lang.tcl


Andreas Leitgeb wrote:
Aric Bills <aric.bills@xxxxxxxxx> wrote:
On May 29, 11:31 pm, Dave Bodenstab <mrd...@xxxxxxxxxx> wrote:
I must be missing something incredibly obvious, but
why do I not get anything printed when I click with
mouse button 1?
bind . <B1-Button> "puts %W"
Bind to <Button-1> instead of <B1-Button>.

And just for extra info and backgrounds:
  B1-...  means: "while Button1 is already pressed, see for ..."

Dave, your bindings would trigger, if you pressed button1 and while holding it, also pressed another mouse button.


I had noticed that, but it made things even more confusing to me.

Thanks for all the clarifications, I now got a little further
with my attempt at a menu extension.

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy