How To Use The Message Widget For Blocks of Text - Python Tkinter GUI Tutorial #165

preview_player
Показать описание
In this video I'll show you how to use the Message Widget to format blocks of text with multiple lines for Tkinter and Python.

Usually we use a Label widget for text. But if you have large blocks of text that will span multiple lines, you should consider using the Message Widget.

With the Message Widget, you can have multiple lines of text, choose how you want it justified (Left justify, Right justify, or Center justify), and also change the aspect ration of the the entire block of text.

Timecodes
0:00 - Intro
0:37 - What Is The Message Widget In Tkinter
1:24 - Create a Tkinter LabelFrame
1:55 - Create a Tkinter Label
2:28 - Change the Font Face and Size
3:09 - Add A Linebreak to Label
3:34 - Create A Tkinter Message Widget
4:00 - Change Message Widget Aspect Ratio
5:21 - Change the Text Justification
6:00 - Create Two More Message Widgets
7:23 - Compare Aspect Ratios
8:44 - Using .config on Message Widgets
9:19 - Create change() Function
10:53 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

Hello bro your first like and first comment is mine

nitkit
Автор

Love your videos. I started GUI programing in python recently and your videos helps a lot. Thank you very much.

anurasenarathna
Автор

Sir you are the best teacher on YouTube?☺️

learnwithnawf
Автор

Wow, I didn't know that. This widget seems very useful. Thank you, John!

Οὖτιςἐμοίγὄνομα-υη
Автор

I subbed about a month ago when I was about firstly looking at his vids

KaziMdTawhid
Автор

Just love your videos helps me so much. Thank you!

AntonFlusten
Автор

Hi, if there is a button that open a new windows, how to put a button on the next window that freeze the user in the second window, and can't click on the first window?

ramehharmouch
Автор

Sir can you make YouTube video downloader (In TKINTER) using (pytube)

idk____idk
Автор

I made a python project based on tkinter but i am facing some problem while running suggest a place where can i get some help like discord channel or any other website. thank you

coolsav
Автор

Couldn't we change the options in message box. Default its yes or no, can we change it to *proceed* or *not to proceed*

codeKeshav
Автор

Can you make a tutorial on socket by the way you are awesome 👍🏻👍🏻

adityachoudhary
Автор

Hey John, you left the, \n in your message

mrforcemedia
Автор

Can't we use
a=Text(root, height=100, width=100)
a.insert(1.0, 'Hi, this is John Elder')
a.pack()
a.config(state=DISABLED)

codeKeshav
Автор

hey man! whats next? 😹😹😹😹😹
and now i'm all well by the grace of my creature. 👽👽👽👽

elitecoder
Автор

I am the guy wo is commenting "remember me?" from 2 weeks

KaziMdTawhid