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

Method __init__

editor/editor.py:273–282  ·  view source on GitHub ↗
(self, app_instance, **kwargs)

Source from the content-addressed store, hash-verified

271class DragHelper(gui.Widget, DraggableItem):
272
273 def __init__(self, app_instance, **kwargs):
274 super(DragHelper, self).__init__(**kwargs)
275 DraggableItem.__init__(self, app_instance, **kwargs)
276 self.style['float'] = 'none'
277 self.style['background-image'] = "url('/editor_resources:drag.png')"
278 self.style['background-color'] = "rgba(255,255,255,0.0)"
279 self.style['position'] = 'absolute'
280 self.style['left'] = '0px'
281 self.style['top'] = '0px'
282 self.onmousedown.do(self.start_drag)
283
284 def setup(self, refWidget, newParent):
285 self.style['display'] = 'none'

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
doMethod · 0.45

Tested by

no test coverage detected