Best GUI for small-scale accounting app?
Paul Rubin
http
Tue Dec 28 11:57:07 EST 2004
Ed Leafe <ed at leafe.com> writes:
> Here's the equivalent in Dabo:
>
> menu = dabo.ui.dMenu()
> itm = menu.append("Close Window", self, self.onCloseWindow)
This still seems way too complicated. Why execute a bunch of separate
statements when what you're trying to set up is a single structure?
E.g.:
menu = dabo.ui.Menu(("Close Window, self.onCloseWindow),
("New Window", self.NewWindow),
("Print", self.Print))
More information about the Python-list
mailing list