MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/tkinter/__init__.py:3327–3341  ·  view source on GitHub ↗

Construct a frame widget with the parent MASTER. Valid resource 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

3325 """Frame widget which may contain other widgets and can have a 3D border."""
3326
3327 def __init__(self, master=None, cnf={}, **kw):
3328 """Construct a frame widget with the parent MASTER.
3329
3330 Valid resource names: background, bd, bg, borderwidth, class,
3331 colormap, container, cursor, height, highlightbackground,
3332 highlightcolor, highlightthickness, relief, takefocus, visual, width."""
3333 cnf = _cnfmerge((cnf, kw))
3334 extra = ()
3335 if 'class_' in cnf:
3336 extra = ('-class', cnf['class_'])
3337 del cnf['class_']
3338 elif 'class' in cnf:
3339 extra = ('-class', cnf['class'])
3340 del cnf['class']
3341 Widget.__init__(self, master, 'frame', cnf, {}, extra)
3342
3343
3344class Label(Widget):

Callers

nothing calls this directly

Calls 2

_cnfmergeFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected