in reply to Re: Re: Binding double click in a Perl/Tk form
in thread Binding double click in a Perl/Tk form
Do you mean a modal dialog? e.g. a dialog that keeps focus until the 'OK' or 'Cancel' buttons (or whatever buttons) are pressed and doesn't let the user input anything on the main window.
Also, try binding the double click event directly to the Icon, Label or whatever instead of to the TList, this should work equally as well. Just substitute $tk_form{output_list} with your Label widget, i.e. $tk_form{label}->bind(...). Then let me know if this doesn't work so we can work it out the hard way by figuring out which element of the TList was clicked, etc.
--
hiseldl
|
|---|