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

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

src/e/d/editxt-HEAD/editxt/controls/linenumberview.py   editxt(Download)
    def invalidateRuleThickness(self):
        thickness = self.calculate_thickness()
        # TODO do not call setNeedsDisplayInRect_ if the (exact) number of lines did not change
        self.setNeedsDisplayInRect_(self.frame())
        if thickness > self.ruleThickness():