21.1 Overview

Imagebutton class is a subclass of image class. It turns an image object into an image button that can be pressed by the user. Imagebutton class recognizes all attributes of image class.

This class is probably not of much use since you can include images in button labels using text formatting codes anyway. That is why you should use the normal button class instead.

See Button class for details.

See Text formatting codes for details.

Show TOC