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

Method __init__

Lib/tkinter/__init__.py:2882–2892  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

2880 """Canvas widget to display graphical elements like lines or text."""
2881
2882 def __init__(self, master=None, cnf={}, **kw):
2883 """Construct a canvas widget with the parent MASTER.
2884
2885 Valid resource names: background, bd, bg, borderwidth, closeenough,
2886 confine, cursor, height, highlightbackground, highlightcolor,
2887 highlightthickness, insertbackground, insertborderwidth,
2888 insertofftime, insertontime, insertwidth, offset, relief,
2889 scrollregion, selectbackground, selectborderwidth, selectforeground,
2890 state, takefocus, width, xscrollcommand, xscrollincrement,
2891 yscrollcommand, yscrollincrement."""
2892 Widget.__init__(self, master, 'canvas', cnf, kw)
2893
2894 def addtag(self, *args):
2895 """Internal function."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected