Displaying 1 result from an estimated 1 matches for "imagepleasewait".
2007 Jan 23
0
Refreshing the GUI and packing images
...R packages available.
My first question is about refreshing the interface while running a very long
process.
run<-function(){
? ? ? ? tttry <- tktoplevel()
? ? ? ? tkwm.geometry(tttry, "+200+200")
? ? ? ? tkwm.title(tttry,"wait")
? ? ? ? warn<-tklabel(tttry,image=imagepleasewait)
? ? ? ? tkpack(warn) ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? tkfocus(tttry)
? ? ? ? tcl("update")
? ? ? ? ? ? ? ?
? ? ? ? print("Starting...")
? ? ? ? validate <- 1
? ?
? ? ? ? onIdle <- function(){
? ? ? ? ? if (validate)==1){
? ? ? ? ? ? Sys.sleep(0.1)
? ? ? ? ? ? tkconfigur...