SciViews / tcltk2

Other
2 stars 1 forks source link

tk2tablelist() returns Tcl/Tk error #4

Closed GegznaV closed 2 years ago

GegznaV commented 4 years ago

The example from package tcltk2 (see code below) returns the following error:

image

Please, fix the functionality of function tk2tablelist().

The example:

library(tcltk2)

## A tablelist example
tt <- tktoplevel()
tlist <- tk2tablelist(tt, columntitles = c("First column", "Second column"),
    stretch = "all", expand = 1)
tkpack(tlist, fill = "both")
tkinsert(tlist, "end", c("first row", "another value"))
tkinsert(tlist, "end", c("another row", "bla bla"))
tbut <- tk2button(tt, text = "Done", command = function () tkdestroy(tt))
tkpack(tbut)
phgrosjean commented 2 years ago

Tested the level version on macOS Big Sur => it works without error.