gimagebutton | R Documentation |
An image-button
gimagebutton(stock.id = NULL, filename, old_cursor = NULL, tooltip = NULL, ...)
stock.id |
the icon to use |
filename |
the image location |
old_cursor |
the cursor before mouseover |
tooltip |
a list with items 'tooltip' and 'widget' |
... |
additional arguments passed to 'gimage' |
Creates an image that works as a button, and has mouseover icon effects and a 'tooltip' that appears in the status bar.
a gimage with extra effects
Tom Elliott
w <- gwindow()
g <- ggroup(container = w)
gib <- gimagebutton("close", container = g)
dispose(w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.