Closed zhibisora closed 2 years ago
require(tcltk) require(gWidgets2) require(gWidgets2tcltk)
then
win <- gwindow('R',visible=TRUE) my_Open <- gaction(label="Open", icon="open",handler=function(h,...){ # ... }) my_list <- list( open = my_Open, sep = list(separator = TRUE)) gtb <- gtoolbar(toolbar.list = my_list, container = win)
that will cause an error
Error in UseMethod(".gtoolbar") : no applicable method for '.gtoolbar' applied to an object of class "c('guiWidgetsToolkittcltk', 'guiWidgetsToolkit')"
So, can I use gtoolbar with tcltk?
Sorry, this is definitely a bug. I am getting around to fixing this up, so hopefully can identify and close soon.
This should be closed in release 1.0-7. Thanks for the bug report.
then
that will cause an error
So, can I use gtoolbar with tcltk?