CAPI: Menus in external variable for define-interface
Hi all,
How to move menus from define-interface :menus section to external variable to be able to reuse them in another interface?()
(:menus
(colors-menu "Colors"
((:component
(:red :green :blue)
:interaction :single-selection
:print-function
'string-capitalize)
more-colors-menu))
(more-colors-menu "More Colors"
(:pink :yellow :cyan)
:print-function
'string-capitalize))
(:menu-bar colors-menu more-colors-menu)
(:default-initargs :title "Test4"))
Here I want colors-menu and more-colors-menu to be used by another interface as well.
Br,