define-menu

Macro

Summary

The
define-menu
macro defines a menu function.

Package

capi

Signature

define-menu
function-name
(
self
)
title
menu-body
&rest
menu-options

Description

The macro
define-menu
defines a function called
function-name
with a single argument
self
that will make a menu. The parameters
title
,
menu-body
and
menu-options
take the same form as the
:menus
section of define-interface.