comparison src/xmenu.c @ 40993:63f97168400b

(x-popup-menu): Reindent. (x-popup-dialog): Likewise.
author Pavel Janík <Pavel@Janik.cz>
date Tue, 13 Nov 2001 07:10:29 +0000
parents cdfd4d09b79a
children 26c1876db9e3
comparison
equal deleted inserted replaced
40992:15aec38184e1 40993:63f97168400b
653 } 653 }
654 } 654 }
655 } 655 }
656 656
657 DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, 657 DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0,
658 doc: /* Pop up a deck-of-cards menu and return user's selection. 658 doc: /* Pop up a deck-of-cards menu and return user's selection.
659 POSITION is a position specification. This is either a mouse button event 659 POSITION is a position specification. This is either a mouse button event
660 or a list ((XOFFSET YOFFSET) WINDOW) 660 or a list ((XOFFSET YOFFSET) WINDOW)
661 where XOFFSET and YOFFSET are positions in pixels from the top left 661 where XOFFSET and YOFFSET are positions in pixels from the top left
662 corner of WINDOW's frame. (WINDOW may be a frame object instead of a window.) 662 corner of WINDOW's frame. (WINDOW may be a frame object instead of a window.)
663 This controls the position of the center of the first line 663 This controls the position of the center of the first line
878 } 878 }
879 879
880 #ifdef HAVE_MENUS 880 #ifdef HAVE_MENUS
881 881
882 DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, 882 DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0,
883 doc: /* Pop up a dialog box and return user's selection. 883 doc: /* Pop up a dialog box and return user's selection.
884 POSITION specifies which frame to use. 884 POSITION specifies which frame to use.
885 This is normally a mouse button event or a window or frame. 885 This is normally a mouse button event or a window or frame.
886 If POSITION is t, it means to use the frame the mouse is on. 886 If POSITION is t, it means to use the frame the mouse is on.
887 The dialog box appears in the middle of the specified frame. 887 The dialog box appears in the middle of the specified frame.
888 888