More on event bindings (1)

Here is aunified quit function that can be used with buttons and event bindings:
def quit(self, event=None):
    self.parent.quit()
Keyword arguments and None as default value make Python programming effective!

previousnexttable of contents