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/CanvasHEventView.py   openerp-client(Download)
                       len(self.event_items))
        item.set_text(event.caption)
        item.set_property('color', color.to_int(event.bg_color))
        if self.show_normal and not util.same_day(event.start, event.end):
            item.set_property('color', color.to_int(event.bg_color))

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasHEventView.py   SpiffGtkWidgets(Download)
        item.set_text(event.caption)
        if event.all_day:
            item.set_property('color', color.to_int(event.bg_color))
        if self.show_normal and not util.same_day(event.start, event.end):
            item.set_property('color', color.to_int(event.bg_color))

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/CanvasVEventView.py   openerp-client(Download)
        self.table.add(item, cols + 1, cols + 2, event_off_rows, event_end_rows)
        item.set_text(event.caption)
        item.set_property('color', color.to_int(event.bg_color))
        if event.text_color is not None:
            item.set_text_color(event.text_color)

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/CanvasVEventView.py   SpiffGtkWidgets(Download)
        self.table.add(item, cols + 1, cols + 2, event_off_rows, event_end_rows)
        item.set_text(event.caption)
        item.set_property('color', color.to_int(event.bg_color))
        if event.text_color is not None:
            item.set_text_color(event.text_color)