(self, _, data)
| 155 | return False |
| 156 | |
| 157 | def on_vbox_size_allocate(self, _, data): |
| 158 | if self.browser: |
| 159 | x = data.x |
| 160 | y = data.y + self.menubar_height |
| 161 | width = data.width |
| 162 | height = data.height - self.menubar_height |
| 163 | if WINDOWS: |
| 164 | WindowUtils.OnSize(self.get_window_handle(), 0, 0, 0) |
| 165 | elif LINUX: |
| 166 | self.browser.SetBounds(x, y, width, height) |
| 167 | |
| 168 | def on_menubar_size_allocate(self, _, data): |
| 169 | self.menubar_height = data.height |
nothing calls this directly
no test coverage detected