Пример #1
0
	def __init__(self, isize, osize, **kwargs):
		Element.__init__(self, isize, osize, **kwargs)
Пример #2
0
	def __init__(self, size, inum, onum, **kwargs):
		Element.__init__(self, [size]*inum, [size]*onum, **kwargs)
		self.size = size
Пример #3
0
	def newContext(self, factory):
		return Element._Context(self)
Пример #4
0
	def __init__(self, size, **kwargs):
		Element.__init__(self, size, size, **kwargs)
		self.size = size