Hello,
This trick works on Windows (only) and does not require any additional
components:
library(tcltk)
top <- tktoplevel()
if (.Platform$OS.type == "windows") {
tcl("wm", "attributes", top, topmost = 1)
# You may also be interested by this one:
tcl("wm", "attributes", top, toolwindow = 1)
}
Best,
Philippe Grosjean
..............................................<°}))><........
) ) ) ) )
( ( ( ( ( Prof. Philippe Grosjean
) ) ) ) )
( ( ( ( ( Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons-Hainaut University, Belgium
( ( ( ( (
..............................................................
Manel Salamero wrote:
Some year ago James Wettenhall give a solution to keep Tk windows always on
top, which uses a dll downloaded from http://www.jessikat.fsnet.co.uk/dll.zip.
Now this link doesn't work. Someone knows were to download it or other
alternative?
Thanks, Manel
_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui
_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui