I understand this:
> 
> def f(w): gtk.main_quit()
> button.connect("clicked", f)
> 
> lambda simply saves cluttering up the code with lots
> of tiny function
> derfinitions which are never referred to apart from
> in the binding 
> operation.
> 

Now my question is what is "w"?  What is being passed
to the function?


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to