Build A Text Editor Part 6 - Creating Bold and Italics Text - Python Tkinter GUI Tutorial #109

codemy(72)
Published in
#diy
Words
122
Reading
1 min
Listen
Play
6y

In this video we'll create a toolbar with buttons that allow us to make our text bold or italics.

To add bold and italics text to our text box, we'll need to first define a new font, and then add as tag to the text widget with that new font. We'll do this for both bold and italics.

We'll also need to write some logic to determine whether the text was already bold or italics, and if so...un-bold or un-italics it.

✅ 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

Build A Text Editor Part 6 - Creating Bold and Italics Text - Pytho... | Ecency