R/gbuttonFix.R

#GButton$methods(set_icon = function(value, size = "button") {
#                    ## Set icon using a stock icon
#                    icon <- getStockIconByName(value, toolkit=toolkit)
#                    if(!is.null(icon)) {
#                        image <- gtkImageNew()
#                        image$SetFromStock(icon, size=size)
#                        widget$setImage(image)
#                        widget$image$show()
#                    }
#                })
iNZightVIT/iNZight documentation built on Nov. 13, 2019, 7:08 a.m.