grapa.frontend.widgets_custom.CheckbuttonVar
- class grapa.frontend.widgets_custom.CheckbuttonVar(frame, text, default, **kwargs)
Bases:
Checkbuttonreplacement for tk.Checkbutton, with embedded tk.BooleanVar
- __init__(frame, text, default, **kwargs)
Construct a checkbutton widget with the parent MASTER.
Valid resource names: activebackground, activeforeground, anchor, background, bd, bg, bitmap, borderwidth, command, cursor, disabledforeground, fg, font, foreground, height, highlightbackground, highlightcolor, highlightthickness, image, indicatoron, justify, offvalue, onvalue, padx, pady, relief, selectcolor, selectimage, state, takefocus, text, textvariable, underline, variable, width, wraplength.
Methods
__init__(frame, text, default, **kwargs)Construct a checkbutton widget with the parent MASTER.
get()Returns the current value of the CheckbuttonVar.
set(value)Sets the current value of the CheckbuttonVar.
- get()
Returns the current value of the CheckbuttonVar.
- set(value)
Sets the current value of the CheckbuttonVar.