(self, app_instance, compatibility_iterable, **kwargs)
| 187 | |
| 188 | class 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: |
nothing calls this directly
no test coverage detected