Displaying 3 results from an estimated 3 matches for "nswe".
Did you mean:
nsw
2012 Jul 16
2
Tk grid problem
...;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=1,column=1,columnspan=2,rowspan=2,sticky="nswe")
tkgrid(B.but,row=3,column=1,columnspan=2,rowspan=1,sticky="nswe")
tkgrid(C.but,row=1,column=3,columnspan=2,rowspan=1,sticky="wens")
tkgrid(D.but,row=3,column=3,columnspan=2,rowspan=2,sticky="wens")
any idea?
thx
Vincent
[[alternative HTML version delet...
2011 Dec 21
1
Gps fraction of degrees function
Dear all, I have the following written example
> coords <- "51°30'48.58\"N"
>
> as.integer(strsplit(coords, "°")[[1]][1])
[1] 51
> as.integer(strsplit(strsplit(coords, "°")[[1]][2], "'")[[1]][1])
[1] 30
> as.numeric(strsplit(strsplit(strsplit(coords, "°")[[1]][2], "'")[[1]][2],
2010 Jul 21
1
tcltk resizing when using tkgrid for layout
I've been able to figure out on my own how to do what I need in the
largely undocumented tcltk package, but I've finally hit a wall. I can't
even think of any sufficiently specific search terms to use for this.
I'm trying to make the widgets in my tk window resize when the window is
resized by clicking and dragging on its corners or edges. Instead they
stay exactly where they