The only way to use bind is to have it call a function. When you use lambda you are just creating an anonymous function. You can easily do: b.
Bind("", self. SomeOtherFunction) lambda is useful when you want to pass additional arguments to the function. Unlike when using the command option, with bindings you get an event object with lots of useful information so you may not need to pass any additional information For example, you could do this: def OnPress(event): print "widget %s was pressed" % event.
Widget def OnRelease(event): print "widget %s was released" % event. Widget be = Button(...) b. Bind("", OnPress) b.
Bind("", OnRelease) For a good introduction to binding see Events and Bindings on effbot.org.
The only way to use bind is to have it call a function. When you use lambda you are just creating an anonymous function. You can easily do: b.
Bind("", self. SomeOtherFunction) lambda is useful when you want to pass additional arguments to the function. Unlike when using the command option, with bindings you get an event object with lots of useful information so you may not need to pass any additional information.
For example, you could do this: def OnPress(event): print "widget %s was pressed" % event. Widget def OnRelease(event): print "widget %s was released" % event. Widget be = Button(...) b.
Bind("", OnPress) b. Bind("", OnRelease) For a good introduction to binding see Events and Bindings on effbot.org.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.