Overview of Item Types

IMAGE ITEMS

Items of type image appear on the display as color images. Images are created with widget commands of the following form:

pathName create image [option value option value ...]

There may be any number of option-value pairs, each of which sets one of the configuration options for the item. These same option-value pairs may be used in itemconfigure widget commands to change the item's configuration. The following options are supported for images:

[47] -dither dithermode

(available only for image item types)


Specifies if and when the image is rendered with dithering. Dithering is a rendering technique that allows closer approximation to the actual image colors, even when the requested colors are not available. Rendering images with dithering is much slower than without, so this option allows control as to when (if at all), dithering is used. dithermode may be any of


[48] -image imagetoken

(available only for image item types)


Specifies the image that this item will render. (Also see the allocimage and freeimage commands.)


July 9, 1996 - 9 JUL 1996

Generated with Harlequin WebMaker

Web Accessibility