Sets the option variable to the option value, selects the widget, and invokes the associated command. Returns the result of the command, or an empty string if no command is specified.
(self)
| 1033 | |
| 1034 | |
| 1035 | def invoke(self): |
| 1036 | """Sets the option variable to the option value, selects the |
| 1037 | widget, and invokes the associated command. |
| 1038 | |
| 1039 | Returns the result of the command, or an empty string if |
| 1040 | no command is specified.""" |
| 1041 | return self.tk.call(self._w, "invoke") |
| 1042 | |
| 1043 | |
| 1044 | class Scale(Widget, tkinter.Scale): |