tkinter question

Rainer Deyke root at rainerdeyke.com
Mon Jun 12 18:07:26 EDT 2000


Bob van der Poel <bvdpoel at uniserve.com> wrote in message
news:39454A0E.1A630514 at uniserve.com...

> Third, how can I define a widget command with an arg. For example:
>
> q = Button( text="Quit", command = quitit("sure?") )

One word: lambda.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware action/role-playing games      -      http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list