Ejemplo n.º 1
0
 def __init__(self,
              title,
              parent,
              service,
              folders=[],
              items=[],
              onDesktop=True):
     KActionMenu.__init__(self, title, parent)
     MenuBase.__init__(self, service, folders, items, onDesktop)
Ejemplo n.º 2
0
 def __init__(self,
              title,
              parent,
              service,
              folders: list = None,
              items: list = None,
              onDesktop=True):
     KActionMenu.__init__(self, title, parent)
     MenuBase.__init__(self, service, folders, items, onDesktop)
     if items is None:
         items = []
     if folders is None:
         folders = []
Ejemplo n.º 3
0
 def __init__(self, title, parent, service, folders=[], items=[], onDesktop=True):
     KActionMenu.__init__(self, title, parent)
     MenuBase.__init__(self, service, folders, items, onDesktop)