Python GUI Tutorial - 31 - Text - part 1 смотреть онлайн
in this video we'll learn how to use Text widget to take input or displaying large text in tkinter application.
Along with creating it, we'll also learn about the options that we can use with Text widget in tkinter.
The option that we are going to learn in this video are as follows-
1. height = tells us how many number of lines we need in Text widget.
2. width = tells us number of characters in each line in Text widget.
3. padx = space between border and text in both right and left side.
4. pady = space between border and text in both top and left side.
5. bd = to change the border size.
6. selectbackground = to change the background of selected text.
7. font = to change the font family, size or style of the text.
8. wrap = to wrapping the text inside textbox. CHAR and WORD are to option to wrap.
code used in the video-
from tkinter import *
root = Tk()
text = Text(root, width=20, height=10, wrap=WORD, padx=10, pady=10, bd=5, selectbackground="blue")
text.configure(font="")
text.pack()
root.geometry("300x300+120+120")
root.mainloop()
------------------------------------------------
I'm sure your quries like -
- How to create text widgets in tkinter?
- How to create large entry in tkinter?
- How to display large Text in tkinter?
- How to change the height and width of Text widget in Tkinter?
- How to get space between border and text in Text widget in Tkinter?
- How to change border size in tkinter?
- How to change the color of selected Text in Textbox in tkinter?
- how to change font in tkinter?
- how to stop cropping words in tkinter text?
have been solved.
if you have any problem related with this video, then please let us know in comment box. we'll reply as soon as possible.
Contact us -
FB - https://facebook.com/programmingacage
email - [email protected]
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python GUI Tutorial - 31 - Text - part 1» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.