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

Method __init__

editor/editor.py:189–199  ·  view source on GitHub ↗
(self, app_instance, compatibility_iterable, **kwargs)

Source from the content-addressed store, hash-verified

187
188class SvgDraggableCircleResizeRadius(gui.SvgRectangle, DraggableItem):
189 def __init__(self, app_instance, compatibility_iterable, **kwargs):
190 self.w = 15
191 self.h = 15
192 super(SvgDraggableCircleResizeRadius, self).__init__(
193 0, 0, self.w, self.h, **kwargs)
194 DraggableItem.__init__(self, app_instance, **kwargs)
195 self.attributes['stroke-dasharray'] = "2,2"
196 self.set_stroke(1, 'black')
197 self.set_fill('#ffcc00')
198 self.compatibility_iterable = compatibility_iterable
199 self.onmousedown.do(self.start_drag)
200
201 def setup(self, refWidget, newParent):
202 if type(refWidget) in self.compatibility_iterable or refWidget == None:

Callers

nothing calls this directly

Calls 4

__init__Method · 0.45
set_strokeMethod · 0.45
set_fillMethod · 0.45
doMethod · 0.45

Tested by

no test coverage detected