How on Earth can I know what are the arguments of any of the functions of 
the tcl/tk package? I tried hard to find, using all search engines 
available, looking deep into keywords of R, python's tkinter and tcl/tk, but 
nowhere I found anything remotely similar to a help.

For example, what are the possible arguments to tkgetOpenFile?

I know that this works:

library(tcltk)
filename <- tclvalue(tkgetOpenFile(
  filetypes="{{Porn Files} {.jpg}} {{All files} {*}}"))
if (filename != "") cat("Selected file:", filename, "\n")

but, besides filetypes, what are the other arguments to
tkgetOpenFile? I would like to force the files to be sorted by
time, with most recent files coming first (and no, the purpose is
not to use for porn files).

Alberto Monteiro

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to