in reply to Binding mouse clicks in perl/Tk
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 |