767 |
With this form of menu, the return value is VALUE from the chosen item. |
With this form of menu, the return value is VALUE from the chosen item. |
768 |
|
|
769 |
If POSITION is nil, don't display the menu at all, just precalculate the |
If POSITION is nil, don't display the menu at all, just precalculate the |
770 |
cached information about equivalent key sequences. */) |
cached information about equivalent key sequences. |
771 |
|
|
772 |
|
If the user gets rid of the menu without making a valid choice, for |
773 |
|
instance by clicking the mouse away from a valid choice or by typing |
774 |
|
keyboard input, then this normally results in a quit and |
775 |
|
`x-popup-menu' does not return. But if POSITION is a mouse button |
776 |
|
event (indicating that the user invoked the menu with the mouse) then |
777 |
|
no quit occurs and `x-popup-menu' returns nil. */) |
778 |
(position, menu) |
(position, menu) |
779 |
Lisp_Object position, menu; |
Lisp_Object position, menu; |
780 |
{ |
{ |
1012 |
An ITEM may also be just a string--that makes a nonselectable item. |
An ITEM may also be just a string--that makes a nonselectable item. |
1013 |
An ITEM may also be nil--that means to put all preceding items |
An ITEM may also be nil--that means to put all preceding items |
1014 |
on the left of the dialog box and all following items on the right. |
on the left of the dialog box and all following items on the right. |
1015 |
\(By default, approximately half appear on each side.) */) |
\(By default, approximately half appear on each side.) |
1016 |
|
|
1017 |
|
If the user gets rid of the dialog box without making a valid choice, |
1018 |
|
for instance using the window manager, then this produces a quit and |
1019 |
|
`x-popup-dialog' does not return. */) |
1020 |
(position, contents) |
(position, contents) |
1021 |
Lisp_Object position, contents; |
Lisp_Object position, contents; |
1022 |
{ |
{ |