Beispiel #1
0
 def __init__(self, label):
     Node.__init__(self, label)
     self.submenu = None
Beispiel #2
0
 def __init__(self, label, action, *args):
     Node.__init__(self, label)
     self.action_args = args
     self.action = action
Beispiel #3
0
 def __init__(self, label, action,  *args):
     Node.__init__(self, label)
     self.action_args = args
     self.action = action