[Tkinter-discuss] what is the meanning of triple?
守株待兔
1248283536 at qq.com
Sun Aug 21 07:57:21 CEST 2011
here is the code:
from Tkinter import *
from tkColorChooser import askcolor
def setBgColor():
(triple, hexstr) = askcolor()
if hexstr:
print hexstr
push.config(bg=hexstr)
root = Tk()
push = Button(root, text='Set Background Color', command=setBgColor)
push.config(height=3, font=('times', 20, 'bold'))
push.pack(expand=YES, fill=BOTH)
root.mainloop()
in the (triple, hexstr) = askcolor(), i want to know the meaning of triple??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110821/a7510e7e/attachment.html>
More information about the Tkinter-discuss
mailing list