Construct an entry widget with the parent MASTER. Valid resource names: background, bd, bg, borderwidth, cursor, exportselection, fg, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insert
(self, master=None, cnf={}, **kw)
| 3239 | """Entry widget which allows displaying simple text.""" |
| 3240 | |
| 3241 | def __init__(self, master=None, cnf={}, **kw): |
| 3242 | """Construct an entry widget with the parent MASTER. |
| 3243 | |
| 3244 | Valid resource names: background, bd, bg, borderwidth, cursor, |
| 3245 | exportselection, fg, font, foreground, highlightbackground, |
| 3246 | highlightcolor, highlightthickness, insertbackground, |
| 3247 | insertborderwidth, insertofftime, insertontime, insertwidth, |
| 3248 | invalidcommand, invcmd, justify, relief, selectbackground, |
| 3249 | selectborderwidth, selectforeground, show, state, takefocus, |
| 3250 | textvariable, validate, validatecommand, vcmd, width, |
| 3251 | xscrollcommand.""" |
| 3252 | Widget.__init__(self, master, 'entry', cnf, kw) |
| 3253 | |
| 3254 | def delete(self, first, last=None): |
| 3255 | """Delete text from FIRST to LAST (not included).""" |