Displaying 1 result from an estimated 1 matches for "250x140".
2006 May 22
1
rerender tcltk toplevel
...d strategy was to use a simple toplevel with a
label and update the tclvariable assigned to it. This works nicely on
windows systems but on my linux box (Suse10) the label is not updated on
every round of iteration but rather once the iterator finishes.
tt <-tktoplevel()
tkwm.geometry(tt, "250x140")
prog <- tclVar("0")
label <- tklabel(tt, textvariable=prog)
tkgrid(label)
for(i in 1:50) {
tmp <- rnorm(1e+05)
tclvalue(prog) <- i*2
}
When I combine both approaches and add the label to a toplevel that
already contains the progress bar updating the label wor...