Tkinter Python GUI Tutorial For Beginners 8 - Open New Window on Button Click - Multiple Windows

preview_player
Показать описание
Welcome to this video on Tkinter Python GUI Tutorial For Beginners. This video shows how to Open New window on Button Click. So we will see how to handle Multiple Windows in Tkinter.

So What is Tkinter ? Tkinter is the Python interface to the Tk GUI toolkit shipped with Python. In Python you can use the Tkinter module to create simple GUI programs. Tkinter does not always run reliably under IDLE Use IDLE’s editor to write GUI programs, but for best results run the program from the OS command line. Learn Tkinter In easy and simple steps.

#ProgrammingKnowledge #Tkinter #PythonGUITutorial
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Can some one help me this says:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "", line 77, in a_win
a_window=Tk()
TypeError: 'module' object is not callable

i am at video 8:44

dfhfhdjg
Автор

Hello,
I have a doubt not regarding this video but about tkinter frames and button, I would be good if you help.
I have created 3 buttons on a frame and it is showing its output on another frame which is frame 2, but when I'm clicking on any button the output of both the buttons are shown in frame 2. I wanted that the output of frame 2 get update on every click.
Please help.


Thanks in advance

priyanshuagrawal
Автор

There is a slight problem with the code. If you keep on pressing login, it will keep on opening new windows again and again. Is there a way to get around that because it would seem quite ridiculous to have multiple login windows opened.

hmak
Автор

good job with those tutorials

You did make just one small mistake:
but_01 = Button(..).place(..) <-- but_01 variable is useless here because place() returns nothing, and it will have 'None' type. So, there are two correct options:

but_01 = Button(..)
but_01.place(..)

or don't bother with variable thing:

Button(...).place(...)

voytechj
Автор

Hi sir plz tell me how to open image as label in new/second am hard trying but I can do it plz help me

learnlistenquran
Автор

hey dude can u please say me what version of python we should install and how to get tkinter

lokeshd
Автор

b=Button(root, text="Search"), width=12, bg='blue', fg='red', command=exitt).place(x=150, y=380)
I get invalid syntax error

JackBright
Автор

How can we close the previous window and open new window on the click. ?Like we do in Java with dispose ()

ashhadahsan