in reply to Binding mouse clicks in perl/Tk

ButtonRelease-1 binds to the event "Release of the first Button". ButtonRelease-2 binds to the even "Release of the second button".

What you want is ButtonPress-1 and Double-ButtonPress-1.

See also the Tk::bind manual page.

As for your second question, yes, you can put images and other widgets in a Text widget. For details, see the Tk::Text manual page.

Abigail

Replies are listed 'Best First'.
Re: Re: Binding mouse clicks in perl/Tk
by blackadder (Hermit) on Jul 19, 2002 at 22:36 UTC
    Got it, Thanks alot....
    I must say this, I believe that, the best I ever done was to learn Perl and finding PerlMonks web site....I have gone all misty now.....