jverzani / gWidgets2

Rewrite of gWidgets
35 stars 9 forks source link

setting custom `gtable` label (instead of "Values") #68

Closed landroni closed 10 years ago

landroni commented 10 years ago

Now the gtable label is "Values" by default when using a vector.

w <- gwindow("gtable example", visible=T)
g <- gvbox(cont=w)
tbl <- gtable(letters, cont=g, expand=TRUE, fill=TRUE)

Would it be possible to set a custom label (table header)?

jverzani commented 10 years ago

Try names<-

landroni commented 10 years ago

Works great. Thanks.

Concerning the docs, shouldn't names<- be mentioned in ?gtable?

jverzani commented 10 years ago

Thanks for the suggestion. Will do.

On Sun, Aug 3, 2014 at 3:51 AM, landroni notifications@github.com wrote:

Works great. Thanks.

Concerning the docs, shouldn't names<- be mentioned in ?gtable?

— Reply to this email directly or view it on GitHub https://github.com/jverzani/gWidgets2/issues/68#issuecomment-50984442.

John Verzani Chair, Department of Mathematics College of Staten Island, CUNY verzani@math.csi.cuny.edu