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

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

src/o/p/openerp-client-5.0.0-3/bin/SpiffGtkWidgets/Calendar/Calendar.py   openerp-client(Download)
import hippo
from SpiffGtkWidgets.color import to_int as c2i
from CanvasDayRange        import CanvasDayRange
 
class Calendar(hippo.Canvas):
        """
        if self.range_item is None:
            self.range_item = CanvasDayRange(self)
            self.root.append(self.range_item, hippo.PACK_EXPAND)
            self.range_item.connect('day-clicked',   self.on_day_clicked)

src/s/p/SpiffGtkWidgets-0.2.0/src/SpiffGtkWidgets/Calendar/Calendar.py   SpiffGtkWidgets(Download)
import hippo
from SpiffGtkWidgets.color import to_int as c2i
from CanvasDayRange        import CanvasDayRange
 
class Calendar(hippo.Canvas):
        """
        if self.range_item is None:
            self.range_item = CanvasDayRange(self)
            self.root.append(self.range_item, hippo.PACK_EXPAND)
            self.range_item.connect('day-clicked',   self.on_day_clicked)