[R] Floating windows in TCLTK
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Wed Nov 14 14:26:03 CET 2001
Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
> > I suspect that this is a windows issue rather than anything specific to
> > Tk/Tcl in R. Under windows NT, and presumably win 2000, you can download a
> > utility from microsoft called TweakUI which allows you to change the
> > behaviour of windows. If you choose to have the focus following the mouse,
> > and no raising of windows with the focus, you should get the behaviour you
> > want.
> 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.
> It seems Tcl/Tk on Windows uses some hidden windows to manage its event
> queue, with the result that all visible windows lose focus, and you have
> to click on one of them. So I think it is a Tcl/Tk issue.
Just a hunch: There's one window that we hide ourselves (because
quitting it kills the Tcl interpreter), namely the "." (root) window.
What happens if you do a .Tcl("wm deiconify .") ?
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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