Tkinter managing font family, size and style of text widget from menu bar

preview_player
Показать описание
00:23 What is tearoff option of menu
02:07 About frame layout
04:30 Adding menu
04:44 Font size function
06:50 Font size demo
07:32 Font family
09:32 Font style

Inside a text widget we can update the font family, increase or decrease the font size and change the font style by using options from menu bar

WE will use the font option inside one list to add or update the option of the text widget.

The elements of the font we can ( to manage the family, size and style ) manage by placing matching options in our menu bar.

Full source code here.

About Tkinter Menu and sub menu

About Tkinter Text widget

#TkitnerFrontStyle #fontSize #FontFamily #tkinterTextWidget #Python #plus2net #TextFontFamily
Рекомендации по теме