Message-ID: <loom.20120825T174356-213@post.gmane.org>
Date: 2012-08-25T15:44:51Z
From: j verzani
Subject: How to arrange the GUI's in window in tcltk package???
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.
>
>