Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Python GUI Tutorial - 38 - working with multiple windows - Top level в хорошем качестве

Python GUI Tutorial - 38 - working with multiple windows - Top level 6 лет назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Python GUI Tutorial - 38 - working with multiple windows - Top level

In this video you'll learn about the about how we can work with multiple windows in Tkinter. There is a class Toplevel() that is same as Frame but the only difference is that when we create a Frame then the frame will open in the same window but on other hand, Toplevel will open in a new window. we can also do everything that we can do in root window. code used in the video- from tkinter import * def open_window(): top = Toplevel() top.title("top window") top.geometry("300x300+120+120") button1 = Button(top, text="close", command=top.destroy) button1.pack() root = Tk() button = Button(root, text="open window", command=open_window) button.pack() root.geometry("300x300+120+120") root.mainloop() ------------------------------------- so i am sure your queries like - how to open another window in tkinter? how to work with multiple windows in tkinter? how to create a new window in tkinter? how to open a new window in tkinter? how to close root window in tkinter? what is Toplevel in tkinter? how to use Toplevel in tkinter? have been solved. if you have problem related with this videos, then please let us know in commentbox. we'll reply as soon as possible.

Comments