def __init__(self, title, items, **kwds): #print "Menu: creating with items", items ### GMenu.__init__(self, title, items, **kwds) ns_menu = NSMenu.alloc().initWithTitle_(title) ns_menu.setAutoenablesItems_(False) ns_menu.setDelegate_(Globals.ns_application) self._ns_menu = ns_menu
def __init__(self, title, items, **kwds): GMenu.__init__(self, title, items, **kwds) self._gtk_menu = Gtk.Menu() self._gtk_accel_group = Gtk.AccelGroup()
def __init__(self, *args, **kwds): GMenu.__init__(self, *args, **kwds)