Python GUI with Tkinter - Messagebox + Executing commands in Menubar - 9/30

preview_player
Показать описание
Day 9 - Learning to execute functions from the menubar and creating a pop up message box in tkinter.

#tkinter #python #tkinter30
Рекомендации по теме
Комментарии
Автор

why we have to use <import tkinter.messagebox> ? Doesn't <from tkinter import *> imports messagebox also ??

rahulsrivastava
Автор

Using *command=exit* instead of *command=root.destroy* will also do the work

MOHAMMEDUVAISHRAHMANJ
Автор

The info box is appearing as soom as I am running the code

NiteshSingh-cmmd
Автор

Sir! Your videos are great and really helpful. But i have a doubt: when we use root.destroy (after playing a song root window is destroyed but song still plays at the back.) Should we add any more command??

mongiavishesh
Автор

my menu bar is a separate window.... help?

jonni
Автор

I am currently using Pycharm on Ubuntu 18.04. I am getting a problem while using root.destroy. The command is not doing anything. When I click "Exit", nothing happens.

subarnalamsal
Автор

i have a suggestion. next time please open a side window to show the actual documentation of tkinter and pygame and go back and forth to show the actual functions used. that way we know how the functions actually work and what it expects. plus it will open up newbies the habit of using the documentation while developing which is the first thing they should do instead of googling for hours for one problem.

satoshinakamoto
Автор

Iam getting an error in tkinter.messagebox.showinfo()

sumakatabattuni