[R] Floating windows in TCLTK

David Middleton dmiddleton at fisheries.gov.fk
Wed Nov 14 16:58:40 CET 2001

Brian Ripley wrote:

> Unfortunately not (I use TweakUI to have focus following the mouse: it
> doesn't raise focussed windows for me).  This works perfectly with
> multiple R windows in --sdi mode, *except* with package tcltk.

I confess I wrote my original reply without actually trying it.  However I
have now done some experimentation and, as far as I can tell, both
standalone tk windows _and_ those from R's tcltk package work as expected.
I'm also using R in sdi mode and the window with the mouse seems to get the
focus as expected.  Maybe I'm missing the point - I have only experimented
briefly with the tkcanvas and tkdensity demos.  Or possibly this is another
of those things that is specific to particular windows setups?

Just checked the TweakUI control panel and it doesn't have the option to
auto-raise the window with the focus that I implied in my earlier reply.
Must have been a residual memory from some X windows manager...


Dr David A. J. Middleton, Stock Assessment Scientist
Fisheries Department, Falkland Islands Government
Stanley, Falkland Islands
Tel: +500 27260  Fax +500 27265  Email: dmiddleton at fisheries.gov.fk
Web: http://www.falklandislands.com/business/fisheries.htm

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list