Get the current value of the value option, or the value corresponding to the coordinates x, y if they are specified. x and y are pixel coordinates relative to the scale widget origin.
(self, x=None, y=None)
| 1063 | |
| 1064 | |
| 1065 | def get(self, x=None, y=None): |
| 1066 | """Get the current value of the value option, or the value |
| 1067 | corresponding to the coordinates x, y if they are specified. |
| 1068 | |
| 1069 | x and y are pixel coordinates relative to the scale widget |
| 1070 | origin.""" |
| 1071 | return self.tk.call(self._w, 'get', x, y) |
| 1072 | |
| 1073 | |
| 1074 | class Scrollbar(Widget, tkinter.Scrollbar): |