Construct an entry widget with the parent MASTER. Valid option names: background, bd, bg, borderwidth, cursor, exportselection, fg, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, inserton
(self, master=None, cnf={}, **kw)
| 3320 | """Entry widget which allows displaying simple text.""" |
| 3321 | |
| 3322 | def __init__(self, master=None, cnf={}, **kw): |
| 3323 | """Construct an entry widget with the parent MASTER. |
| 3324 | |
| 3325 | Valid option names: background, bd, bg, borderwidth, cursor, |
| 3326 | exportselection, fg, font, foreground, highlightbackground, |
| 3327 | highlightcolor, highlightthickness, insertbackground, |
| 3328 | insertborderwidth, insertofftime, insertontime, insertwidth, |
| 3329 | invalidcommand, invcmd, justify, relief, selectbackground, |
| 3330 | selectborderwidth, selectforeground, show, state, takefocus, |
| 3331 | textvariable, validate, validatecommand, vcmd, width, |
| 3332 | xscrollcommand.""" |
| 3333 | Widget.__init__(self, master, 'entry', cnf, kw) |
| 3334 | |
| 3335 | def delete(self, first, last=None): |
| 3336 | """Delete text from FIRST to LAST (not included).""" |