Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/CanvasGrid.py   openerp-client(Download)
    def _add_line(self, length):
        rows, cols = self.get_size()
        for colnum in range(length):
            self.set_column_expand(colnum, True)
            self.add(self._new_cell(), colnum, colnum + 1, rows, rows + 1)
    def _add_column(self):
        rows, cols = self.get_size()
        for rownum in range(rows):
            self.add(self._new_cell(), cols, cols + 1, rownum, rownum + 1)
 

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasGrid.py   SpiffGtkWidgets(Download)
    def _add_line(self, length):
        rows, cols = self.get_size()
        for colnum in range(length):
            self.set_column_expand(colnum, True)
            self.add(self._new_cell(), colnum, colnum + 1, rows, rows + 1)
    def _add_column(self):
        rows, cols = self.get_size()
        for rownum in range(rows):
            self.add(self._new_cell(), cols, cols + 1, rownum, rownum + 1)
 

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/CanvasMagnetTable.py   openerp-client(Download)
    def add(self, child, left=None, right=None, top=None, bottom=None, flags=0):
        CanvasTable.add(self, child, left, right, top, bottom, flags)
        matrix = self.get_matrix()
        if self.align == self.ALIGN_TOP:
            self._shift(matrix, matrix.move_top)

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasMagnetTable.py   SpiffGtkWidgets(Download)
    def add(self, child, left=None, right=None, top=None, bottom=None, flags=0):
        CanvasTable.add(self, child, left, right, top, bottom, flags)
        matrix = self.get_matrix()
        if self.align == self.ALIGN_TOP:
            self._shift(matrix, matrix.move_top)