Exemplo n.º 1
0
 def __init__(self, data=None, data_sorting="none", **kw):
     "See set_data() for description."
     self._data = array([])
     HasStrictTraits.__init__(self, **kw)
     if data is not None:
         self.set_data(data, data_sorting)
     return
Exemplo n.º 2
0
 def __init__ (self, *args, **kws):
     self.inited = False
     HasStrictTraits.__init__ (self, *args, **kws)        
     self.options = Options()
     self.add_data('A', self.data_source.data)
     self.options.selected_data = 'A'
     self.inited = True
Exemplo n.º 3
0
 def __init__(self, viewer=None):
     HasStrictTraits.__init__(self, viewer=viewer)
     self.startup()
Exemplo n.º 4
0
 def __init__(self, viewer = None):
     HasStrictTraits.__init__ (self, viewer=viewer)
     self.startup()