Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Tk override Paste

by jcb (Parson)
on Feb 21, 2021 at 04:21 UTC ( [id://11128613] : note . print w/replies, xml ) Need Help??


in reply to Tk override Paste

The most likely cause is that the <<Paste>> event does not fire until after the paste has been done. Unless you need the modified value for another program, the easiest way to handle this is to modify the contents of the text widget instead of trying to change the selection contents.