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

Method setup

editor/editor.py:284–290  ·  view source on GitHub ↗
(self, refWidget, newParent)

Source from the content-addressed store, hash-verified

282 self.onmousedown.do(self.start_drag)
283
284 def setup(self, refWidget, newParent):
285 self.style['display'] = 'none'
286 if issubclass(newParent.__class__, gui.TabBox):
287 return
288 if issubclass(refWidget.__class__, gui.Widget) and 'left' in refWidget.style and 'top' in refWidget.style and refWidget.css_position=='absolute':
289 DraggableItem.setup(self, refWidget, newParent)
290 self.style['display'] = 'block'
291
292 def on_drag(self, emitter, x, y):
293 if self.active:

Callers 9

setupMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
on_widget_selectionMethod · 0.45
menu_new_clickedMethod · 0.45
menu_save_clickedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected