Python Tkinter - Creating Labels and Styling - Part 1

Published: 15 May 2022
on channel: Thinking Through Code
2,255
86

In this beginner tkinter tutorial I will explain how one can add labels into the GUI program and create a generic template using the Style class embedded inside of the ttk module.

This video will explain the following concepts:
1 - Generic use for Labels inside of a GUI app
2 - How to create a very basic Label (parent and text value)
3 - How to use geometry management to influence the look of your label in its container.

4 - The strategy behind having a generic styling template (using the Style class object in Tkinter) combined with more precise styling argument contained in the Label class (part 2)

5- Creating a styling template with :
1 - The Background color
2 - A generic font for all your labels ('font name', size, 'bold/italic')
3 - The foreground color of your text (color)
4 - The padding of your text inside your Label

Thank you for watching ! :)


On this page of the site you can watch the video online Python Tkinter - Creating Labels and Styling - Part 1 with a duration of hours minute second in good quality, which was uploaded by the user Thinking Through Code 15 May 2022, share the link with friends and acquaintances, this video has already been watched 2,255 times on youtube and it was liked by 86 viewers. Enjoy your viewing!