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

Method tag_configure

Lib/tkinter/ttk.py:1459–1469  ·  view source on GitHub ↗

Query or modify the options for the specified tagname. If kw is not given, returns a dict of the option settings for tagname. If option is specified, returns the value for that option for the specified tagname. Otherwise, sets the options to the corresponding values

(self, tagname, option=None, **kw)

Source from the content-addressed store, hash-verified

1457
1458
1459 def tag_configure(self, tagname, option=None, **kw):
1460 """Query or modify the options for the specified tagname.
1461
1462 If kw is not given, returns a dict of the option settings for tagname.
1463 If option is specified, returns the value for that option for the
1464 specified tagname. Otherwise, sets the options to the corresponding
1465 values for the given tagname."""
1466 if option is not None:
1467 kw[option] = None
1468 return _val_or_dict(self.tk, kw, self._w, "tag", "configure",
1469 tagname)
1470
1471
1472 def tag_has(self, tagname, item=None):

Callers 5

test_tag_configureMethod · 0.45
ResetColorizerMethod · 0.45
__init__Method · 0.45
setupMethod · 0.45
config_colorsMethod · 0.45

Calls 1

_val_or_dictFunction · 0.85

Tested by 1

test_tag_configureMethod · 0.36