예제 #1
0
 def __init__(self):
     ContainerWidget.__init__(self)
     self._layout = Layout()
     self._sprite = ButtonSprite()
예제 #2
0
 def __init__(self, padding):
     ContainerWidget.__init__(self)
     self._layout.parseMargins(padding)
     self.max_children = 1
예제 #3
0
파일: boxwidget.py 프로젝트: Niriel/pynguin
 def __init__(self, spacing, homogeneous):
     ContainerWidget.__init__(self)
     self._layout = VBoxLayout(spacing, homogeneous)