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