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

codemy(72)
Published in
#coding
Words
112
Reading
1 min
Listen
Play
6y

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

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

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

Select All and Clear - Build A Text Editor Part 9 - Python Tkinter ... | Ecency