MCPcopy Index your code
hub / github.com/rawpython/remi / update_position

Method update_position

editor/editor.py:308–315  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

306 self.update_position()
307
308 def update_position(self):
309 self.style['position'] = 'absolute'
310 if self.refWidget:
311 if 'left' in self.refWidget.style and 'top' in self.refWidget.style:
312 self.style['left'] = gui.to_pix(gui.from_pix(
313 self.refWidget.style['left'])-gui.from_pix(self.style['width']))
314 self.style['top'] = gui.to_pix(gui.from_pix(
315 self.refWidget.style['top'])-gui.from_pix(self.style['width']))
316
317
318class Project(gui.Container):

Callers 2

on_dragMethod · 0.95
idleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected