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)
| 1073 | |
| 1074 | |
| 1075 | def get(self, x=None, y=None): |
| 1076 | """Get the current value of the value option, or the value |
| 1077 | corresponding to the coordinates x, y if they are specified. |
| 1078 | |
| 1079 | x and y are pixel coordinates relative to the scale widget |
| 1080 | origin.""" |
| 1081 | return self.tk.call(self._w, 'get', x, y) |
| 1082 | |
| 1083 | |
| 1084 | class Scrollbar(Widget, tkinter.Scrollbar): |
no test coverage detected