MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / cancel

Method cancel

pager_lib/tqdm/tk.py:153–160  ·  view source on GitHub ↗

`cancel_callback()` followed by `close()` when close/cancel buttons clicked.

(self)

Source from the content-addressed store, hash-verified

151 self._tk_window.update()
152
153 def cancel(self):
154 """
155 `cancel_callback()` followed by `close()`
156 when close/cancel buttons clicked.
157 """
158 if self._cancel_callback is not None:
159 self._cancel_callback()
160 self.close()
161
162 def reset(self, total=None):
163 """

Callers 9

executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
closeSerialFunction · 0.80
submitMethod · 0.80
closeSerialFunction · 0.80

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected