Lines Matching refs:pb
14 proc ttk::progressbar::Autoincrement {pb steptime stepsize} {
17 if {![winfo exists $pb]} {
19 unset -nocomplain Timers($pb)
23 $pb step $stepsize
25 set Timers($pb) [after $steptime \
26 [list ttk::progressbar::Autoincrement $pb $steptime $stepsize] ]
30 # Start autoincrement mode. Invoked by [$pb start] widget code.
32 proc ttk::progressbar::start {pb {steptime 50} {stepsize 1}} {
34 if {![info exists Timers($pb)]} {
35 Autoincrement $pb $steptime $stepsize
40 # Cancel autoincrement mode. Invoked by [$pb stop] widget code.
42 proc ttk::progressbar::stop {pb} {
44 if {[info exists Timers($pb)]} {
45 after cancel $Timers($pb)
46 unset Timers($pb)
48 $pb configure -value 0