MCPcopy Index your code
hub / github.com/python/cpython / configure

Method configure

Lib/tkinter/ttk.py:1062–1072  ·  view source on GitHub ↗

Modify or query scale options. Setting a value for any of the "from", "from_" or "to" options generates a < > event.

(self, cnf=None, **kw)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

event_generateMethod · 0.80
anyFunction · 0.50
configureMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected