Package pyforms :: Package terminal :: Package Controls :: Module ControlImage |
[hide private]
[frames] | no frames]

# Source Code for Module pyforms.terminal.Controls.ControlImage

     1  from pyforms.terminal.Controls.ControlBase import ControlBase
     2
     3 -class ControlImage(ControlBase):
     4
     5      _filename = ''
     6
     7 -    def initControl(self): pass
     8
     9 -    def save(self, data):
    10          if self.value!=None: data['value'] = self._value
    11
    12 -    def load(self, data):
    13          if 'value' in data: self.value = data['value']
    14
    15 -    def repaint(self): pass
    16
    17      @property
    18 -    def value(self): pass
    19
    20      @value.setter
    21 -    def value(self, value): pass
    22