Hi,
I'm learning Tkinter with the following code on Mac OS X 10.4:
from Tkinter import *
from sys import stdout, exit
widget = Button(None, text = 'Hello?', command=(lambda:
stdout.write('Hello?\n') or exit()))
widget.pack()
widget.mainloop()
I do successfully get a GUI with a button, but the pr
Hi,
I am testing the following Tkinter code (attached at the end of
this message) by Fredrik Lundh on a Mac OS X 10.4.2 with Python
version 2.3. I do get a root window, but it is totally blank
without the desirable menubars such as File and Edit. What am I
missing?
Any help will be highly appreci
l="Paste")
root.config(menu=menubar)
root.mainloop()
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
On Wed, 16 Nov 2005, Michael Lange ([EMAIL PROTECTED])
wrote:
> On Tue, 15 Nov 2005 16:17:
Hi all,
I'm puzzled by the 'command' option in menu and Button of
Tkinter. With the following lines,
menu.add_command(label="Open Viewer", command=os.system("Open my
viewer &"))
Button(toolbar, text='Open Viewer', command=os.system("Open my
viewer &")).pack(side=LEFT)
I wanted to open a g
Hi John and Alan,
I got it! Thank you both for explaining this situation.
Thanks,
Joe
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
On Tue, 22 Nov 2005, [EMAIL PROTECTED]
([EMAIL PROTECTED]