Ed Leafe <[EMAIL PROTECTED]> 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)) -- http://mail.python.org/mailman/listinfo/python-list