grapa.frontend.widgets_custom.LabelVar

class grapa.frontend.widgets_custom.LabelVar(frame, value, **kwargs)

Bases: Label

replacement for tk.Label, with embedded tk.Stringvar

__init__(frame, value, **kwargs)

Construct a label widget with the parent MASTER.

STANDARD OPTIONS

activebackground, activeforeground, anchor, background, bitmap, borderwidth, cursor, disabledforeground, font, foreground, highlightbackground, highlightcolor, highlightthickness, image, justify, padx, pady, relief, takefocus, text, textvariable, underline, wraplength

WIDGET-SPECIFIC OPTIONS

height, state, width

Methods

__init__(frame, value, **kwargs)

Construct a label widget with the parent MASTER.

get()

Returns the current value of the LabelVar.

set(val)

Sets the current value of the LabelVar.

get()

Returns the current value of the LabelVar.

set(val)

Sets the current value of the LabelVar.