Exemplo n.º 1
0
Arquivo: items.py Projeto: jiiieff/pyf
	def __init__(self, type, output, source, destination, item):
		self.destination = destination
		'''Where item is being moved to.'''
		self.source = source
		'''Where item is being moved from.'''
		self.item = item
		'''What item is being moved. Does NOT always equal event.target.'''
		HandlerEvent.__init__(self, type, output)
Exemplo n.º 2
0
 def __init__(self, type, output, source, destination, item):
     self.destination = destination
     '''Where item is being moved to.'''
     self.source = source
     '''Where item is being moved from.'''
     self.item = item
     '''What item is being moved. Does NOT always equal event.target.'''
     HandlerEvent.__init__(self, type, output)
Exemplo n.º 3
0
	def __init__(self, type):
		HandlerEvent.__init__(self, type, None)
		self.type = type
Exemplo n.º 4
0
 def __init__(self, type):
     HandlerEvent.__init__(self, type, None)
     self.type = type