I want to make popup window using Tkinter.
I can do it so:
import Tkinter
a="some data that use should be able to copy-paste"
tkMessageBox.showwarning("done","message")
But there is one problem that user need to be able to select, copy and paste shown text.
It’s not possible to do in such way.
Are there any ways to do it with Tkinter? (or another tools that is supplied with python by default)
Thanks in advance for any tips
From here, it seems a workaround using
Entryin Tkinter is doable. Here is the code:EDIT: To respond to your comment, I found a way to insert multi-line text, using the
Textwidget.Here is a draft of a solution:
I’m (still) interested in any better solution 🙂