All Manuals > CAPI User Guide and Reference Manual > 8 Creating Menus

8.10 Menus with images

You can add images to menu items. Supply the :image-function initarg when creating the menu, as illustrated in:

(example-edit-file "capi/elements/menu-with-images")

Note: on some platforms support for images in menus is limited to menu items without text and/or images without transparency. If pane-supports-menus-with-images returns true, then images are fully supported in menus.


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:20