is illusory pass arguments eventuality bindings?
i haven't found an answer elsewhere doesn't seem have asked nonetheless so.
when formulating an eventuality contracting wxpython, illusory pass additional arguments event? example, normal way:
b = wx.button(self, 10, "default button", (20, 20))
self.bind(wx.evt_button, self.onclick, b)
def onclick(self, event):
self.log.write("click! (%d)\n" % event.getid())
but illusory have another justification upheld method? such slight tell some-more widget job nonetheless still relapse same value?
it severely devaluate duplicate & pasting same formula nonetheless opposite callers.
Comments
Post a Comment