Modify or query scale options. Setting a value for any of the "from", "from_" or "to" options generates a < > event.
(self, cnf=None, **kw)
| 1060 | |
| 1061 | |
| 1062 | def configure(self, cnf=None, **kw): |
| 1063 | """Modify or query scale options. |
| 1064 | |
| 1065 | Setting a value for any of the "from", "from_" or "to" options |
| 1066 | generates a <<RangeChanged>> event.""" |
| 1067 | retval = Widget.configure(self, cnf, **kw) |
| 1068 | if not isinstance(cnf, (type(None), str)): |
| 1069 | kw.update(cnf) |
| 1070 | if any(['from' in kw, 'from_' in kw, 'to' in kw]): |
| 1071 | self.event_generate('<<RangeChanged>>') |
| 1072 | return retval |
| 1073 | |
| 1074 | |
| 1075 | def get(self, x=None, y=None): |
nothing calls this directly
no test coverage detected