MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / configure

Method configure

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:1052–1062  ·  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

1050
1051
1052 def configure(self, cnf=None, **kw):
1053 """Modify or query scale options.
1054
1055 Setting a value for any of the "from", "from_" or "to" options
1056 generates a <<RangeChanged>> event."""
1057 retval = Widget.configure(self, cnf, **kw)
1058 if not isinstance(cnf, (type(None), str)):
1059 kw.update(cnf)
1060 if any(['from' in kw, 'from_' in kw, 'to' in kw]):
1061 self.event_generate('<<RangeChanged>>')
1062 return retval
1063
1064
1065 def get(self, x=None, y=None):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected