Exemplo n.º 1
0
 def select(self):
     """
     Select this widget.
     """
     self._pack.reset()
     self.app.setRegion(self.region_uuid)
     return Selectable.select(self)
Exemplo n.º 2
0
 def select(self):
     """
     Select this widget.
     """
     self._pack.reset()
     self.app.setRegion(self.region_uuid)
     return Selectable.select(self)
Exemplo n.º 3
0
 def setSelected(self, value):
     """
     Select this element to a value.
     """
     if value:
         self._pack.reset()
     self.app.setRegion(self.region_uuid)
     return Selectable.setSelected(self, value)
Exemplo n.º 4
0
 def setSelected(self, value):
     """
     Select this element to a value.
     """
     if value:
         self._pack.reset()
     self.app.setRegion(self.region_uuid)
     return Selectable.setSelected(self, value)
Exemplo n.º 5
0
 def deselect(self):
     """
     Deselect this widget.
     """
     return Selectable.deselect(self)
Exemplo n.º 6
0
 def __init__(self, selected, region_uuid, app, pack):
     Selectable.__init__(self, selected)
     self.region_uuid = region_uuid
     self.app = app
     self._pack = pack
     self._pack.add(self)
Exemplo n.º 7
0
 def deselect(self):
     """
     Deselect this widget.
     """
     return Selectable.deselect(self)
Exemplo n.º 8
0
 def __init__(self, selected, region_uuid, app, pack):
     Selectable.__init__(self, selected)
     self.region_uuid = region_uuid
     self.app = app
     self._pack = pack
     self._pack.add(self)