Exemple #1
0
    def __init__(
        self,
        trait_editor_factory,
        obj,
        name,
        description,
        handler=None,
        context=None,
        style="simple",
        width=-1.0,
        height=-1.0,
    ):
        """ Build a new TraitGridCellAdapter object. """

        PyGridCellEditor.__init__(self)
        self._factory = trait_editor_factory
        self._style = style
        self._width = width
        self._height = height
        self._editor = None
        self._obj = obj
        self._name = name
        self._description = description
        self._handler = handler
        self._context = context
Exemple #2
0
 def __init__(self, plugin, controller):
     GridCellEditor.__init__(self)
     self._plugin = plugin
     self._controller = controller
     self._grid = None
     self._parent = None
     self._original_value = None
     self._tc = None
Exemple #3
0
 def __init__(self, plugin, controller):
     GridCellEditor.__init__(self)
     self._plugin = plugin
     self._controller = controller
     self._grid = None
     self._original_value = None
     self._value = None
     self._tc = None
     self._counter = 0
Exemple #4
0
 def __init__(self, ligne=None):
     self.ligne = ligne
     GridCellEditor.__init__(self)
Exemple #5
0
 def __init__(self, ligne=None):
     self.ligne = ligne
     GridCellEditor.__init__(self)
Exemple #6
0
 def __init__(self):
     GridCellEditor.__init__(self)
     self.address = None
     self.param = None
Exemple #7
0
 def Show(self, show, attr):
     GridCellEditor.Show(self, show, attr)
Exemple #8
0
 def __init__(self):
     GridCellEditor.__init__(self)
     self.address = None
     self.param = None