示例#1
0
    def __init__(self, provider=None):
        """ Build a new PyGridCellImageRenderer.

            'provider', if provided, should implement
            get_image_for_cell(row, col) to specify an image to appear
            in the cell at row, col. """

        GridCellRenderer.__init__(self)

        # save the string renderer to use for text.
        self._string_renderer = GridCellStringRenderer()

        self._provider = provider

        return
示例#2
0
 def __init__(self, case):
     GridCellRenderer.__init__(self)
     self.case = case
     self.dict_boutons = {}
示例#3
0
 def __init__(self, case):
     GridCellRenderer.__init__(self)
     self.case = case
     self.grid = None
示例#4
0
    def __init__(self, parent, showBox=True):
        self.parent = parent
        self.showBox = showBox
        self.enabled = True

        GridCellRenderer.__init__(self)
示例#5
0
 def __init__(self):
     GridCellRenderer.__init__(self)
     self.grid = None
示例#6
0
 def __init__(self):
     GridCellRenderer.__init__(self)
示例#7
0
class CaseRenderer(GridCellRenderer):
    def __init__(self, case=None):
        GridCellRenderer.__init__(self)
        self.case = case
        self.grid = None
示例#8
0
 def __init__(self):
     GridCellRenderer.__init__(self)
     self.grid = None
 def __init__(self, case):
     GridCellRenderer.__init__(self)
     self.case = case
     self.dict_boutons = {}
 def __init__(self, case):
     GridCellRenderer.__init__(self)
     self.case = case
     self.grid = None