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

Method __init__

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

Source from the content-addressed store, hash-verified

48
49class DraggableItem(gui.EventSource):
50 def __init__(self, app_instance, **kwargs):
51 gui.EventSource.__init__(self)
52 self.app_instance = app_instance
53 self.refWidget = None
54 self.parent = None
55 self.active = False
56 self.origin_x = -1
57 self.origin_y = -1
58 self.snap_grid_size = 15
59
60 def setup(self, refWidget, newParent):
61 # refWidget is the target widget that will be resized

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected