[R] Re: A tcltk question

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Feb 26 00:37:08 CET 2003


John Zhang <jzhang at jimmy.harvard.edu> writes:

> Hi, 
> 
> I am trying to create a light-weight window with no border and title bar. The 
> following code does not work for me. 
> 
> base <- tktoplevel()
> tkwm.overrideredirect(base, TRUE) (or FALSE)
> 
> Could someone help me out? Thanks.

The point would seem to be that once the wm grabs the window there's
nothing you can do. Try for instance

tkwm.overrideredirect(tt<-tktoplevel(),1)

You might not like the effect though.

-- 
   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




More information about the R-help mailing list