it's work:
require(tcltk)
tt <- tktoplevel(borderwidth=10)
A.but <- tkbutton(tt,text="A",command=function()ls())
B.but <- tkbutton(tt,text="B",command=function()ls())
C.but <- tkbutton(tt,text="C",command=function()ls())
D.but <- tkbutton(tt,text="D",command=function()ls())
tkgrid(A.but,row=0,c
thanks for your answer, i will try this.
Regards
2012/7/16 j verzani
> vincent guyader gmail.com> writes:
>
> >
> > Hi everybody,
> >
> > I have a problem with the grid function in tk.
> > I juste try to put 4 buttons like this:
> >
> > ---
> > |||
> > |
vincent guyader gmail.com> writes:
>
> Hi everybody,
>
> I have a problem with the grid function in tk.
> I juste try to put 4 buttons like this:
>
> ---
> |||
> || C|
> | A||
> |||
> -- D|
> ||
On Jul 16, 2012, at 16:13 , vincent guyader wrote:
> Hi everybody,
>
> I have a problem with the grid function in tk.
> I juste try to put 4 buttons like this:
>
>
> ---
> |||
> || C|
> | A||
> |||
> -- D
4 matches
Mail list logo