Class
callbackA function that is called when the toolbar button is pressed.
imageA slot specifying the image to use for the toolbar button.
tooltipAn optional string which is displayed when the mouse moves over the button.
:callbacks,:images and:tooltips arguments totoolbar ortoolbar-component can be used. image may be one of the following: This specifies the filename of a file suitable for loading withgp:load-image. Currently this must be a bitmap file.
The symbol must have been previously registered by means of a call togp:register-image-translation.
gp:load-image.This allows a single bitmap to be created which contains several button images side by side. Seemake-image-locator for more information. On Windows, this also allows access to bitmaps stored as resources in a DLL.
This is a zero-based index into the default-image-set of the toolbar or toolbar component in which the toolbar button is used.
make-image-locatortoolbartoolbar-component