Displaying 1 result from an estimated 1 matches for "logwin".
Did you mean:
login
2007 May 30
0
checking for "viability" of a GUI component
...ad of
checking the variable of the GUI?
I created a log window for several applications, they will check for the
existance of log window, if it exists, append output to it, otherwise,
create log window and insert to it. What I found out is that if I close
the X window of the GUI, the variable logwin still exists, confuse
arises to other components that are supposed to use the GUI.
create.log.win <- function(inputtext){
if(exists(is.null("logwin"))) {return} else {
logwin <<- tktoplevel()
logtext <<- tktext(logwin, bg="white")
tkw...