Re: [Boston.pm] Perl Tk Text widget: get rid of "select" bindings
"Morse, Richard E.,MGH via Boston-pm" <[email protected]> Mon, 24 Aug 2020 15:22:24 +0000
| Newsgroups | gmane.comp.lang.perl.perl-mongers.boston |
|---|---|
| Message-ID | <[email protected]> |
Hi! I know nothing about Tk, but looking at the package, would Tk::ROText do what you want? Ricky On Aug 21, 2020, at 11:43 PM, Greg London <email-2Ro/Dj86MvDSUeElwK9/[email protected]> wrote: > External Email - Use Caution > > > I'm trying to repurpose a Tk::Text widget as a kind of display and user > interface. I've got a binding for <ButtonPress-1> and <B1-Motion>. > all fo that works as expected. > > However, when I click and drag in the widget, the Text widget is still > runnign the "select" binding in teh background somewhere. I end up with a > block of text in my display being selected. The user can't doanything with > the seleected text. And it makes the display jittery. > > Is htere a way to disable the selection binding in the Tk::Text widget? > > Thanks, > Greg > > _______________________________________________ > Boston-pm mailing list > [email protected] > https://mail.pm.org/mailman/listinfo/boston-pm The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.