![]() |
|
|
+ Search |
![]()
|
Aug 7th, 2000 05:18
unknown unknown, Grant Edwards
#!/usr/bin/python
from Tkinter import *
from SimpleDialog import SimpleDialog
# initialize GUI toolkit
root = Tk()
# pop up a dialog window with some text
SimpleDialog(root,
text="Hi there\nHere is some text",
buttons=["OK"],
default=0,
title="Demo Dialog").go()
# notice the go()