Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 def __init__(self, title, items, **kwds):
     GMenu.__init__(self, title, items, **kwds)
     self._gtk_menu = Gtk.Menu()
     self._gtk_accel_group = Gtk.AccelGroup()
Ejemplo n.º 4
0
 def __init__(self, *args, **kwds):
     GMenu.__init__(self, *args, **kwds)
Ejemplo n.º 5
0
 def __init__(self, title, items, **kwds):
     GMenu.__init__(self, title, items, **kwds)
     self._gtk_menu = Gtk.Menu()
     self._gtk_accel_group = Gtk.AccelGroup()
Ejemplo n.º 6
0
 def __init__(self, *args, **kwds):
     GMenu.__init__(self, *args, **kwds)