MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / move

Method move

DemoPrograms/Demo_Desktop_Widget_CPU_Gauge.py:92–101  ·  view source on GitHub ↗

Move circle or arc in clock by delta x, delta y

(self, delta_x, delta_y)

Source from the content-addressed store, hash-verified

90 start, style='arc', arc_color=fill))
91
92 def move(self, delta_x, delta_y):
93 """
94 Move circle or arc in clock by delta x, delta y
95 """
96 if False in Gauge.mapping(isinstance, [delta_x, delta_y], (int, float)):
97 raise ValueError
98 self.all[0] += delta_x
99 self.all[1] += delta_y
100 for figure in self.figure:
101 self.graph_elem.MoveFigure(figure, delta_x, delta_y)
102
103 class Pointer():
104 """

Callers

nothing calls this directly

Calls 1

mappingMethod · 0.45

Tested by

no test coverage detected