예제 #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
예제 #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
예제 #3
0
 def __init__(self, viewer=None):
     HasStrictTraits.__init__(self, viewer=viewer)
     self.startup()
예제 #4
0
 def __init__(self, viewer = None):
     HasStrictTraits.__init__ (self, viewer=viewer)
     self.startup()