All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

pane-supports-menus-with-images

Function
Summary

Tests whether a pane supports menus with images.

Signature

pane-supports-menus-with-images pane => result

Arguments

pane

A displayed CAPI pane.

Values

result

A boolean.

Description

The function pane-supports-menus-with-images returns t if the pane supports menus with images. This means that the menus display both the images and the text correctly.

See the image-function of menu for details of creating a menu with images.

When pane-supports-menus-with-images returns nil, menus can display images, but not together with text at the same item They may also display images with transparency incorrectly.

Whether the pane supports menus with images depends on the library in which it is displayed. Support is currently limited to GTK+ and Cocoa.

See also

menu
Creating Menus


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex