MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/tkinter/__init__.py:3322–3333  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected