ttk::progressbar step
Adds an amount to the value.
PATHNAME step ?AMOUNT?
Description
Adds AMOUNT, or 1 with no AMOUNT, to -value. A sum at or past -maximum goes on from 0, as the sum modulo -maximum.
Returns
An empty string.
Examples
% ttk::progressbar .tpbst
> .tpbst step
> .tpbst step 10
> .tpbst cget -value
11.0
Errors
% ttk::progressbar .tpbst2; .tpbst2 step x
expected floating-point number but got "x"
-errorcode NONE
% ttk::progressbar .tpbst3; .tpbst3 step 1 2
wrong # args: should be ".tpbst3 step ?amount?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1