How do I a add a copy and paste function in a Tkinter text widget?

Recommended Answers

All 2 Replies

What you mean? Like clipboard access? Or a internal function?

Copy to variable and write the variable to the widget maybe?

Cheers and Happy coding

Once you highlight the text you can use ctrl/c to copy, ctrl/v to paste and ctrl/x to cut.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.