MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/tkinter/__init__.py:3241–3252  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected