MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / flash

Method flash

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:2727–2737  ·  view source on GitHub ↗

Flash the button. This is accomplished by redisplaying the button several times, alternating between active and normal colors. At the end of the flash the button is left in the same normal/active state as when the command was invoked. This command is ig

(self)

Source from the content-addressed store, hash-verified

2725 Widget.__init__(self, master, 'button', cnf, kw)
2726
2727 def flash(self):
2728 """Flash the button.
2729
2730 This is accomplished by redisplaying
2731 the button several times, alternating between active and
2732 normal colors. At the end of the flash the button is left
2733 in the same normal/active state as when the command was
2734 invoked. This command is ignored if the button's state is
2735 disabled.
2736 """
2737 self.tk.call(self._w, 'flash')
2738
2739 def invoke(self):
2740 """Invoke the command associated with the button.

Callers 1

keyloopFunction · 0.45

Calls 1

callMethod · 0.80

Tested by

no test coverage detected