KekLib.SaferSpinbox#

SaferSpinbox.py

Copyright (c) 2018-2019, Masatsuyo Takahashi, KEK-PF

class SaferSpinbox(parent, **kwargs)#

Bases: Spinbox

Construct a spinbox widget with the parent MASTER.

STANDARD OPTIONS

activebackground, background, borderwidth, cursor, exportselection, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, justify, relief, repeatdelay, repeatinterval, selectbackground, selectborderwidth selectforeground, takefocus, textvariable xscrollcommand.

WIDGET-SPECIFIC OPTIONS

buttonbackground, buttoncursor, buttondownrelief, buttonuprelief, command, disabledbackground, disabledforeground, format, from, invalidcommand, increment, readonlybackground, state, to, validate, validatecommand values, width, wrap,

command()#
config(**kwargs)#

Configure resources of a widget.

The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method keys.

set_tracer(tracer)#
tracer(*args)#
user_tracer_caller()#
validate()#