comparison lispref/frames.texi @ 90180:62afea0771d8

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-51 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 289-301) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 68) - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 12 May 2005 03:41:19 +0000
parents 08185296b491 f1e37047f8ed
children 5b029ff3b08d
comparison
equal deleted inserted replaced
90179:b745036dab36 90180:62afea0771d8
1400 1400
1401 Each item should normally be a cons cell @code{(@var{line} . @var{value})}, 1401 Each item should normally be a cons cell @code{(@var{line} . @var{value})},
1402 where @var{line} is a string, and @var{value} is the value to return if 1402 where @var{line} is a string, and @var{value} is the value to return if
1403 that @var{line} is chosen. An item can also be a string; this makes a 1403 that @var{line} is chosen. An item can also be a string; this makes a
1404 non-selectable line in the menu. 1404 non-selectable line in the menu.
1405
1406 If the user gets rid of the menu without making a valid choice, for
1407 instance by clicking the mouse away from a valid choice or by typing
1408 keyboard input, then this normally results in a quit and
1409 @code{x-popup-menu} does not return. But if @var{position} is a mouse
1410 button event (indicating that the user invoked the menu with the
1411 mouse) then no quit occurs and @code{x-popup-menu} returns @code{nil}.
1405 @end defun 1412 @end defun
1406 1413
1407 @strong{Usage note:} Don't use @code{x-popup-menu} to display a menu 1414 @strong{Usage note:} Don't use @code{x-popup-menu} to display a menu
1408 if you could do the job with a prefix key defined with a menu keymap. 1415 if you could do the job with a prefix key defined with a menu keymap.
1409 If you use a menu keymap to implement a menu, @kbd{C-h c} and @kbd{C-h 1416 If you use a menu keymap to implement a menu, @kbd{C-h c} and @kbd{C-h
1468 window don't matter; only the frame matters. 1475 window don't matter; only the frame matters.
1469 1476
1470 In some configurations, Emacs cannot display a real dialog box; so 1477 In some configurations, Emacs cannot display a real dialog box; so
1471 instead it displays the same items in a pop-up menu in the center of the 1478 instead it displays the same items in a pop-up menu in the center of the
1472 frame. 1479 frame.
1480
1481 If the user gets rid of the dialog box without making a valid choice,
1482 for instance using the window manager, then this produces a quit and
1483 @code{x-popup-dialog} does not return.
1473 @end defun 1484 @end defun
1474 1485
1475 @node Pointer Shapes 1486 @node Pointer Shapes
1476 @section Pointer Shapes 1487 @section Pointer Shapes
1477 @cindex pointer shape 1488 @cindex pointer shape