All Manuals > CAPI User Guide > 6 Choices > 6.3 Trees


6.3.2 Images and appearance

tree-view can include images displayed on the left of each item. To include images supply the initarg :image-function . You can use images from an image-list via the initarg :image-lists .

Additionally, state images are supported on Microsoft Windows, GTK+ and Motif, via the initarg :state-image-function and, if required, :image-lists .

A tree view can have an alternating background color on Cocoa and GTK+, when specified by the initarg alternating-background .

CAPI User Guide (Windows version) - 30 Aug 2011