(self)
| 143 | return None |
| 144 | |
| 145 | def setup_icon(self): |
| 146 | resources = os.path.join(os.path.dirname(__file__), "resources") |
| 147 | icon_path = os.path.join(resources, "tkinter"+IMAGE_EXT) |
| 148 | if os.path.exists(icon_path): |
| 149 | self.icon = tk.PhotoImage(file=icon_path) |
| 150 | # noinspection PyProtectedMember |
| 151 | self.master.call("wm", "iconphoto", self.master._w, self.icon) |
| 152 | |
| 153 | |
| 154 | class BrowserFrame(tk.Frame): |