punitha <punitha.c87 <at> wipro.com> writes: > > Thank you steven, > > tkpack is helping me in arranging the components in container. > > and yes, i went through gwidgets package, i found it also good to design GUI > in R. >
Try `tkraise`: library(tcltk) w1 <- tktoplevel() tkpack(ttkbutton(w1, text="w1", command=function() { tkraise(w2) })) w2 <- tktoplevel() tkpack(ttkbutton(w2, text="w2", command=function() { tkraise(w1) })) > -- > View this message in context: http://r.789695.n4.nabble.com/ > How-to-arrange-the-GUI-s-in-window-in-tcltk- > package-tp4641279p4641294.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.