(self, *_)
| 104 | self.setup_icon() |
| 105 | |
| 106 | def on_activate(self, *_): |
| 107 | self.window.realize() |
| 108 | self.embed_browser() |
| 109 | self.window.show_all() |
| 110 | # Must set size of the window again after it was shown, |
| 111 | # otherwise browser occupies only part of the window area. |
| 112 | self.window.resize(*self.window.get_default_size()) |
| 113 | |
| 114 | def embed_browser(self): |
| 115 | window_info = cef.WindowInfo() |
nothing calls this directly
no test coverage detected