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/t/r/Trail-HEAD/src/ancillary/BookmarksGUI.py   Trail(Download)
    def _on_new_root(self):
        for dialog in self._details.values(): dialog.destroy()
        self._details = {}
        self.set_viewer(TkListboxViewer(self.root(), self._listbox))
        self.root_redisplay()
            self._listbox = self._dialog._listbox # TBD: gross
            viewer = TkListboxViewer(self.root(), self._listbox)
            self.set_viewer(viewer)
            viewer.populate()
            if viewer.count() > 0: viewer.select_node(viewer.node(0))