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

Method __init__

Lib/tkinter/__init__.py:3408–3422  ·  view source on GitHub ↗

Construct a frame widget with the parent MASTER. Valid option names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.

(self, master=None, cnf={}, **kw)

Source from the content-addressed store, hash-verified

3406 """Frame widget which may contain other widgets and can have a 3D border."""
3407
3408 def __init__(self, master=None, cnf={}, **kw):
3409 """Construct a frame widget with the parent MASTER.
3410
3411 Valid option names: background, bd, bg, borderwidth, class,
3412 colormap, container, cursor, height, highlightbackground,
3413 highlightcolor, highlightthickness, relief, takefocus, visual, width."""
3414 cnf = _cnfmerge((cnf, kw))
3415 extra = ()
3416 if 'class_' in cnf:
3417 extra = ('-class', cnf['class_'])
3418 del cnf['class_']
3419 elif 'class' in cnf:
3420 extra = ('-class', cnf['class'])
3421 del cnf['class']
3422 Widget.__init__(self, master, 'frame', cnf, {}, extra)
3423
3424
3425class Label(Widget):

Callers

nothing calls this directly

Calls 2

_cnfmergeFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected