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

pane-supports-menus-with-images Function

Summary

Tests whether a pane supports menus with images.

Package

capi

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 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
8 Creating Menus


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42