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

Method add

tools/python-3.11.9-amd64/Lib/tkinter/tix.py:554–559  ·  view source on GitHub ↗

Add a button with given name to box.

(self, name, cnf={}, **kw)

Source from the content-addressed store, hash-verified

552 ['orientation', 'options'], cnf, kw)
553
554 def add(self, name, cnf={}, **kw):
555 """Add a button with given name to box."""
556
557 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
558 self.subwidget_list[name] = _dummyButton(self, name)
559 return btn
560
561 def invoke(self, name):
562 if name in self.subwidget_list:

Callers

nothing calls this directly

Calls 3

_dummyButtonClass · 0.85
callMethod · 0.80
_optionsMethod · 0.45

Tested by

no test coverage detected