is a subclass of menu-object which supports titles, and it is used by menus, menu components and menu items.
The title for the object.
can be provided which will be called when the menu is about to appear and which should return the title to use. By default
is called on the interface of the
, but this argument can be changed by passing the menu-object initarg
To specify a mnemonic in the title returned by title-function , make title-function return the mnemonic as a second value. This value is interpreted in the same way as the mnemonic argument for menu.