http://qs321.pair.com?node_id=254548


in reply to Perl/Tk Tk::Text <<Selection>> event

After further testing I've discovered that my code misses the "event" that occurs when another application claims the selection. The only remedy I've found for this is to set the -exportselection attribute FALSE for Text, Entry and other widgets.