Exemplo n.º 1
0
 def __init__(self, **initstate):
     # some debugging code
     #Node.count += 1
     #print " PLUS => Initializing " + str(self.__class__) + " (" + str(Node.count) + ") " + hex(id(self))
     Node.__init__(self)
     # initialisation of non state variables
     self.initnonstate()
     # further initialize the state (the properties)
     self.initstate(**initstate)
Exemplo n.º 2
0
 def __init__(self, **initstate):
     # some debugging code
     #Node.count += 1
     #print " PLUS => Initializing " + str(self.__class__) + " (" + str(Node.count) + ") " + hex(id(self))
     Node.__init__(self)
     # initialisation of non state variables
     self.initnonstate()
     # further initialize the state (the properties)
     self.initstate(**initstate)
Exemplo n.º 3
0
 def __init__(self, prefix):
     Node.__init__(self)
     self.target = None
     self.prefix = prefix
     self.icon = self.overlay_icon
Exemplo n.º 4
0
 def __init__(self, prefix):
     Node.__init__(self)
     self.target = None
     self.prefix = prefix
     self.icon = self.overlay_icon