gimagebutton: iNZight Image Button

View source: R/gimagebutton.R

gimagebuttonR Documentation

iNZight Image Button

Description

An image-button

Usage

gimagebutton(stock.id = NULL, filename, old_cursor = NULL, tooltip = NULL, ...)

Arguments

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'

Details

Creates an image that works as a button, and has mouseover icon effects and a 'tooltip' that appears in the status bar.

Value

a gimage with extra effects

Author(s)

Tom Elliott

Examples

w <- gwindow()
g <- ggroup(container = w)
gib <- gimagebutton("close", container = g)
dispose(w)

iNZightVIT/iNZight documentation built on April 8, 2024, 10:23 a.m.