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

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

src/e/d/editxt-HEAD/editxt/controls/dualview.py   editxt(Download)
    def setHidden_(self, value):
        if not value:
            self.top.setHidden_(not self.top_height())
            self.bottom.setHidden_(not self.bottom_height())
        return super(DualView, self).setHidden_(value)
    def tile(self, ignored=None):
        """Tile subviews within the bounds of this view"""
        rect = self.bounds()
        top_height = self.top_height()
        bottom_height = self.bottom_height()