MCPcopy Index your code
hub / github.com/python/cpython / _click_decrement_arrow

Method _click_decrement_arrow

Lib/test/test_ttk/test_widgets.py:1259–1267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1257 self.spin.update_idletasks()
1258
1259 def _click_decrement_arrow(self):
1260 width = self.spin.winfo_width()
1261 height = self.spin.winfo_height()
1262 x = width - 5
1263 y = height//2 + 4
1264 self.assertRegex(self.spin.identify(x, y), r'.*downarrow\z')
1265 self.spin.event_generate('<ButtonPress-1>', x=x, y=y)
1266 self.spin.event_generate('<ButtonRelease-1>', x=x, y=y)
1267 self.spin.update_idletasks()
1268
1269 def test_configure_command(self):
1270 success = []

Callers 5

test_configure_fromMethod · 0.95
test_configure_wrapMethod · 0.95
test_configure_valuesMethod · 0.95

Calls 6

winfo_widthMethod · 0.80
winfo_heightMethod · 0.80
assertRegexMethod · 0.80
event_generateMethod · 0.80
update_idletasksMethod · 0.80
identifyMethod · 0.45

Tested by

no test coverage detected