Displaying 2 results from an estimated 2 matches for "tkexist".
Did you mean:
tkexists
2001 Feb 20
2
tcltk: testing for widgets?
Hallo!
I want to test if a widget exists. Using Perl/Tk i can call the function tkexists(). How can I realise this function with R/tclTk ?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]su...
2001 Feb 03
1
tk non-widget commands (esp. update and winfo)
...er example is the use of logical results:
> if (tkwinfo ("exists", tt)) cat ("exists\n")
Error in if (tkwinfo("exists", tt)) cat("exists\n") :
argument of if(*) is not interpretable as logical
Huh? Here you might have expected:
> if (tkexists (tt)) cat ("exists\n")
exists
with
> tkexists <- function (widget) (tkcmd ("winfo", "exists", widget) == "1")
One problem is that the number of functions just explodes, so it might
be better to wrap them into one enchillada?
> tkwinfo <...