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

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

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/CanvasDayRange.py   openerp-client(Download)
    def _get_event_view(self, row, start, end, horizontal):
        if horizontal:
            if self.hevent_views.has_key(row):
                view = self.hevent_views[row]
                view.set_range(start, end)
            if self.vevent_views.has_key(row):
                view = self.vevent_views[row]
                view.set_range(start, end)
                return view
            view = CanvasVEventView(self.cal, start, end)

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasDayRange.py   SpiffGtkWidgets(Download)
    def _get_event_view(self, row, start, end, horizontal):
        if horizontal:
            if self.hevent_views.has_key(row):
                view = self.hevent_views[row]
                view.set_range(start, end)
            if self.vevent_views.has_key(row):
                view = self.vevent_views[row]
                view.set_range(start, end)
                return view
            view = CanvasVEventView(self.cal, start, end)