Tkinter - Modify Widgets From Different Classes

Tkinter - Modify Widgets From Different Classes

JobinPy

1 год назад

4,000 Просмотров

I'll show you how to modify widgets from different classes and different files.
Manipulating widgets from different classes is an important technique when using Tkinter.

0:00 Intro
0:58 Demo application
1:45 Start code
2:04 Create main window class
6:22 App so far
7:15 Create Response class
9:15 Submit button binding
9:50 Import Response class
10:57 Reference to widget
12:51 One label with two different names
15:27 Reference to method
21:24 Closure

#tkinter #tkintertutorial #python3 #pythongui

Тэги:

#tkinter #python3 #pythongui
Ссылки и html тэги не поддерживаются


Комментарии:

@istamkulliev
@istamkulliev - 08.06.2023 18:53

Very cool!

Ответить
@bentsionben-david2769
@bentsionben-david2769 - 21.01.2023 14:00

I think you are the best mentor of tkinter on web, i learned and learning so much from you.. i tried to create a MainWindow class of notebook widget that will call different class of different python file by your switch frames video by treeview, but for months already unsuccessfully, please consider to make this video, i believe will be thousands of viewers at least.. 🙏🏻🙏🏻🙏🏻

Ответить
@Ant-up3iy
@Ant-up3iy - 10.12.2022 20:22

Hi Jobin. Great video. I've never seen the "->" before on the first line of a function definition. Are there any good sources you recommend for learning what it does?

Ответить
@CatariCesar
@CatariCesar - 26.07.2022 22:23

Thanks like

Ответить
@mrkalvinbs1424
@mrkalvinbs1424 - 26.07.2022 02:15

Taking advantage of the object-oriented theme, a suggestion for your list of tkinter videos, would be how to create a class to work with configuration files.

You can use the window parameters as an example, with an option to remember or not remember its settings when opening an app.

remember the x,y position of the window, remember the height and width of the window, remember if the window should be opened maximized or normal

Ответить
@mrkalvinbs1424
@mrkalvinbs1424 - 25.07.2022 01:31

Video content is very good.
Thanks for sharing your knowledge!

Ответить
@govinej
@govinej - 23.07.2022 18:26

Thank you, very useful 👍

Ответить
@bentsionben-david2769
@bentsionben-david2769 - 23.07.2022 18:21

Wow wow wow.. nowhere videos like yours.. totally amazing, simple and informative.. 🙏🙏🙏

Ответить