[R] How to arrange the GUI's in window in tcltk package???
jverzani
jverzani at gmail.com
Sat Aug 25 17:44:51 CEST 2012
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.
>
>
More information about the R-help
mailing list