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
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
def __init__(self, parent, showBox=True): self.parent = parent self.showBox = showBox self.enabled = True GridCellRenderer.__init__(self)
def __init__(self): GridCellRenderer.__init__(self) self.grid = None
def __init__(self): GridCellRenderer.__init__(self)
class CaseRenderer(GridCellRenderer): def __init__(self, case=None): GridCellRenderer.__init__(self) self.case = case self.grid = None