Did I find the right examples for you? yes no

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

src/p/y/pygameui-0.2.0/pygameui/alert.py   pygameui(Download)
 
        self.ok = button.Button(pygame.Rect(0, 0, 0, 0), 'OK')
        self.ok.on_clicked.connect(self._dismiss)
        self.add_child(self.ok)
 
        self.cancel = button.Button(pygame.Rect(0, 0, 0, 0), 'Cancel')
        self.cancel.on_clicked.connect(self._dismiss)

src/p/y/pygameui-HEAD/pygameui/alert.py   pygameui(Download)
 
        self.ok = button.Button(pygame.Rect(0, 0, 0, 0), 'OK')
        self.ok.on_clicked.connect(self._dismiss)
        self.add_child(self.ok)
 
        self.cancel = button.Button(pygame.Rect(0, 0, 0, 0), 'Cancel')
        self.cancel.on_clicked.connect(self._dismiss)

src/p/y/pygameui-0.2.0/pygameui/select.py   pygameui(Download)
 
        self.disclosure = button.Button(pygame.Rect(0, 0, 1, 1), caption='')
        self.disclosure.on_clicked.connect(self._toggle_show_list)
        self.add_child(self.disclosure)
 

src/p/y/pygameui-HEAD/pygameui/select.py   pygameui(Download)
 
        self.disclosure = button.Button(pygame.Rect(0, 0, 1, 1), caption='')
        self.disclosure.on_clicked.connect(self._toggle_show_list)
        self.add_child(self.disclosure)