[R] Floating windows in TCLTK

Simon.Gatehouse@csiro.au Simon.Gatehouse at csiro.au
Thu Nov 15 00:49:41 CET 2001


Brian Ripley, David Middleton, Peter Dalgaard and Jim Lemon all provided
some insight to optimizing TCLTK
in my application. 

Unfortunately, at this time, I am still unable to maintain a TCLTK window
'topmost' (ie a floating toolbar) when focus shifts or is shifted to another
window. Nevertheless changing to sdi mode and using tweakUI have provided a
useful workaround. Incidentally, tweakUI does raise the focussed window
following the mouse for me (windows 2000)when the mouse options are set. 

I have not investigated the hidden parent window of TCLTK issue suggested by
Peter Dalgaard but will do so and report if beneficial.

The following may be useful to somebody. I completed a similar task sometime
ago using VB4 with SPLUS V3 (I think).
There, a call to the windows API achieved the desired floating toolbar.
Using the same technique within R recently failed to achieve the float with
R always grabbing the topmost position when it got focus. This indicates,
perhaps, that R is a little quirky in the manner in which it handles windows
in W2000.

Many thanks to all for their advice. 

Any compliments on R and the core team would be inadequate.
Simon Gatehouse     
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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