A Spinbox widget is an Entry-like widget with a pair of up/down arrow buttons that let the user step through a range of values in addition to editing the value directly. The set of values may be a numeric range given by the from_, to and increment options, or an explicit list of strings given by the values option (which takes precedence over the range). Each time an arrow is invoked the command callback, if any, is called; the boolean wrap option controls whether stepping past either end of the range wraps around to the other end; the format option specifies how numeric values are formatted; and the validate option enables validation of the entered text. Inherits from Widget and XView.
A thin wrapper around the Tk scan widget subcommand, used to implement fast dragging of the view: scan('mark', x) records x and the current view, and scan('dragto', x) adjusts the view relative to th…
Locate the end of the selection nearest to the character given by index and adjust that end of the selection to be at index (including but not going beyond index).