LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

popup-menu-button

Class
Summary

A button with a popup menu.

Package

capi

 
Superclasses

item

Initargs

:menu

A menu or nil .

:menu-function

A function designator or nil .

Accessors

popup-menu-button-menu
popup-menu-button-menu-function

Description

The class popup-menu-button provides a button with a popup menu, which is displayed when the user clicks on the button.

If menu-function is non-nil, it should be function of one argument (the pane) and should return a menu object. Otherwise, menu should be a menu object.

popup-menu-button inherits from item, so you can supply text , data and so on.

Example

See the example in capi/elements/popup-menu-button.lisp

See also

menu


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex