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

Method __init__

Lib/tkinter/__init__.py:2965–2975  ·  view source on GitHub ↗

Construct a canvas widget with the parent MASTER. Valid option names: background, bd, bg, borderwidth, closeenough, confine, cursor, height, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, ins

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

Source from the content-addressed store, hash-verified

2963 """Canvas widget to display graphical elements like lines or text."""
2964
2965 def __init__(self, master=None, cnf={}, **kw):
2966 """Construct a canvas widget with the parent MASTER.
2967
2968 Valid option names: background, bd, bg, borderwidth, closeenough,
2969 confine, cursor, height, highlightbackground, highlightcolor,
2970 highlightthickness, insertbackground, insertborderwidth,
2971 insertofftime, insertontime, insertwidth, offset, relief,
2972 scrollregion, selectbackground, selectborderwidth, selectforeground,
2973 state, takefocus, width, xscrollcommand, xscrollincrement,
2974 yscrollcommand, yscrollincrement."""
2975 Widget.__init__(self, master, 'canvas', cnf, kw)
2976
2977 def addtag(self, *args):
2978 """Internal function."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected