[Tkinter-discuss] writing a function to create button

Ilknur Ozturk Ilknur.Ozturk at cabot.com.tr
Fri May 5 10:04:20 CEST 2006

Hi all,


I prepared a GUI which contains lots of buttons. Instead of defining
each of them one by one, I want to write a function that gets the
parameters and create a button.(Each one calls same function for
buttonclick event) Is it possible? If it is, can you give me a simple







This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20060505/72c356dc/attachment.htm 

More information about the Tkinter-discuss mailing list