Re: message box in Tkinter

2010-08-17 Thread Eric Brunel
In article <61cbd1cb-bd6d-49aa-818f-d28c46098...@x18g2000pro.googlegroups.com>, Jah_Alarm wrote: > I need to display a message box at the click of a button. I od the > following: > > from Tkinter import * > > def msg1(): > messagebox.showinfo(message='Have a good day') > > > Button(main

Re: message box in Tkinter

2010-08-17 Thread Matt Saxton
On Tue, 17 Aug 2010 04:02:23 -0700 (PDT) Jah_Alarm wrote: > > When I try importing messagebox from Tkinter i get an error message > that this module doesn't exist. > I believe what you want is Tkinter.Message -- Matt Saxton -- http://mail.python.org/mailman/listinfo/python-list

message box in Tkinter

2010-08-17 Thread Jah_Alarm
I need to display a message box at the click of a button. I od the following: from Tkinter import * def msg1(): messagebox.showinfo(message='Have a good day') Button(mainframe,text="About",command=msg1()).grid(column=360,row=36,sticky=W) I get the error msg 'global name 'messagebox' is not