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. Jianhua Zhang Department of Biostatistics Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
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