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)
| 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. |