MCPcopy Create free account
hub / github.com/cztomczak/cefpython / moveEvent

Method moveEvent

examples/qt.py:269–278  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

267 self.winId(), None)
268
269 def moveEvent(self, _):
270 self.x = 0
271 self.y = 0
272 if self.browser:
273 if WINDOWS:
274 WindowUtils.OnSize(self.getHandle(), 0, 0, 0)
275 elif LINUX:
276 self.browser.SetBounds(self.x, self.y,
277 self.width(), self.height())
278 self.browser.NotifyMoveOrResizeStarted()
279
280 def resizeEvent(self, event):
281 size = event.size()

Callers

nothing calls this directly

Calls 2

getHandleMethod · 0.95
OnSizeMethod · 0.45

Tested by

no test coverage detected