Select All and Clear - Build A Text Editor Part 9 - Python Tkinter GUI Tutorial #112

in #coding5 years ago

In this video I'll show you how to select all text and clear text for our text editor using tkinter and Python.

Selecting all text in a Tkinter text widget is fairly straight forward, we'll just create a tag call sel that Tkinter knows how to handle.

Clearing the text from a text widget is even easier! We'll just use the delete() function and set the range from 1.0 to end.

✅ Watch The tKinter Playlist
http://bit.ly/2UFLKgj

▶️ Get The Code
https://bit.ly/3fLFQ8p

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz


Take $22 off with coupon code: youtube▶️ Learn to Code at https://Codemy.com

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Sort:  

Upvoted by GITPLAIT!

We have a curation trial on Hive.vote. you can earn a passive income by delegating to @gitplait
We share 80 % of the curation rewards with the delegators.


To delegate, use the links or adjust 10HIVE, 20HIVE, 50HIVE, 100HIVE, 200HIVE, 500HIVE, 1,000HIVE, 10,000HIVE, 100,000HIVE


Join the Community and chat with us on Discord let’s solve problems & build together.

Thanks!!