As for copy / paste support between Tk and other applications, this wiki page page sums it up:
Q9. When I copy from a Tcl / Tk application to OS X, close this application, the text that I copied does not appear in the system paste buffer.
I need to switch focus to something else, while the Tk application is still working to copy / paste the cross-application to work as expected. I am using Tcl / Tk 8.10 on Leopard, although I had the same problem with 8.7 on Tiger. How to get around this?
A9. SLB: I canβt answer specifically for OS X, but a similar problem occurs on Windows.
I examined this and found that Windows provides two methods for storing information on the clipboard:
- you can copy the text to the clipboard or
- You can save the link to the application containing the text on the clipboard.
The latter is more effective when the amount of text is very large, but means that information is lost when the application terminates.
This is the only form of copying offered by Tk .
To solve this problem, TIP is required to expand the clipboard support in Tk.
So copying / pasting between application and Tk application may not be easy now ...
Original answer:
Today we are working with gitk all day, I see that there is no focus even on the bottom left gitk panel, where the content difference is displayed.
those. clicking on this panel does not launch anything for other panels.
In other words, the gitk GUI does not control mouse click / select events on this panel, and only its own clipboard capabilities apply.
It seems logical that the Edit menu does not reflect any copy / paste record since gitk does not control these selection events.
Be that as it may, ' Edit ' is only for editing settings.
source share