grapa.frontend.widgets_custom.EntryVar

class grapa.frontend.widgets_custom.EntryVar(frame, value, varType=None, **kwargs)

Bases: Entry

replacement for tk.Entry, with embedded tk.Stringvar

__init__(frame, value, varType=None, **kwargs)

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, insertontime, insertwidth, invalidcommand, invcmd, justify, relief, selectbackground, selectborderwidth, selectforeground, show, state, takefocus, textvariable, validate, validatecommand, vcmd, width, xscrollcommand.

Methods

__init__(frame, value[, varType])

Construct an entry widget with the parent MASTER.

get()

Returns the current value of the EntryVar.

set(val)

Sets the current value of the EntryVar.

get()

Returns the current value of the EntryVar.

set(val)

Sets the current value of the EntryVar.