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

Method configure

Lib/tkinter/ttk.py:357–367  ·  view source on GitHub ↗

Query or sets the default value of the specified option(s) in style. Each key in kw is an option and each value is either a string or a sequence identifying the value for that option.

(self, style, query_opt=None, **kw)

Source from the content-addressed store, hash-verified

355
356
357 def configure(self, style, query_opt=None, **kw):
358 """Query or sets the default value of the specified option(s) in
359 style.
360
361 Each key in kw is an option and each value is either a string or
362 a sequence identifying the value for that option."""
363 if query_opt is not None:
364 kw[query_opt] = None
365 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
366 if result or query_opt:
367 return result
368
369
370 def map(self, style, query_opt=None, **kw):

Callers 15

__init__Method · 0.45
bodyMethod · 0.45
__setitem__Method · 0.45
configureMethod · 0.45
test_pack_propagateMethod · 0.45
test_configure_imageMethod · 0.45
test_configureMethod · 0.45
checkParamMethod · 0.45
checkInvalidParamMethod · 0.45
test_keysMethod · 0.45
test_configureMethod · 0.45
test_bug_100814Method · 0.45

Calls 1

_val_or_dictFunction · 0.85

Tested by 15

test_pack_propagateMethod · 0.36
test_configure_imageMethod · 0.36
test_configureMethod · 0.36
checkParamMethod · 0.36
checkInvalidParamMethod · 0.36
test_keysMethod · 0.36
test_configureMethod · 0.36
test_bug_100814Method · 0.36
test_configure_dataMethod · 0.36
test_configure_fileMethod · 0.36