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

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

src/q/p/QProcessing-0.3.3/visualphysics/layout/Gutter.py   QProcessing(Download)
    def __init__(self, d1=640, d2=480, portrait=True, testing=False):
        super().__init__(d1, d2, portrait, testing)
        self.button_table = ButtonTable.ButtonTable(d1, d2, portrait, testing)
        self.frame = Frame.Frame(d1, d2, portrait, testing)
        self.sizes = co.OrderedDict() 

src/q/p/QProcessing-0.3.3/visualphysics/layout/Frame.py   QProcessing(Download)
    def frame_height(self):
        bt = ButtonTable.ButtonTable(self.height, self.width, self.portrait)
        fh = min(self.app_min, self.app_max - bt.min())
        self.sizes["frame_height"] = fh
        return fh
 
    def frame_width(self):
        bt = ButtonTable.ButtonTable(self.height, self.width, self.portrait)
    def run(self):
        methods = co.OrderedDict()
        s = super().setup()
        s += self.setup()
        bt = ButtonTable.ButtonTable(self.height, self.width, self.portrait)

src/q/p/QProcessing-0.3.3/visualphysics/layout/ButtonTableTest.py   QProcessing(Download)
        self.bts = {}
        for k, v in self.devices.items():
            bt = ButtonTable.ButtonTable(v[0], v[1], portrait=v[2], testing=True)
            self.bts.update({k:bt})