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)
| 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.""" |