42 code results in emacs-mirror/emacs or view all results on GitHub
lisp/calendar/cal-menu.el
Emacs Lisp
Showing the top two matches
Last indexed Jun 25, 2018
| 169 | ["Backward 1 Year" calendar-backward-year]) |
| 170 | "Key map for \"Scroll\" menu in the calendar.") |
| 171 | |
| 172 | (declare-function x-popup-menu "menu.c" (position menu)) |
| 173 | |
| 174 | (defmacro cal-menu-x-popup-menu (event title &rest body) |
| 175 | "Call `x-popup-menu' at position EVENT, with TITLE and contents BODY. |
lisp/tmm.el
Emacs Lisp
Showing the top two matches
Last indexed Jun 25, 2018
| 163 | The last alternative is currently a hack, you cannot use mouse reliably. |
| 164 | |
| 165 | MENU is like the MENU argument to `x-popup-menu': either a |
| 166 | keymap or an alist of alists. |
| … | |
| 193 | (if (and not-menu (= 1 (length tmm-km-list))) |
| 194 | ;; If this is the top-level of an x-popup-menu menu, |
| 195 | ;; and there is just one pane, choose that one silently. |
lisp/progmodes/cpp.el
Emacs Lisp
Showing the top two matches
Last indexed Jun 25, 2018
src/menu.c
C
Showing the top two matches
Last indexed Aug 11, 2018
| 496 | alist-of-alists MENU. |
| 497 | This handles old-fashioned calls to x-popup-menu. */ |
| 498 | void |
| 499 | list_of_panes (Lisp_Object menu) |
| … | |
| 1399 | if (error_name) error ("%s", error_name); |
| 1400 | return selection; |
| 1401 | } |
| 1402 | |
| 1403 | DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0, |
| 1404 | doc: /* Pop up a deck-of-cards menu and return user's selection. |
lisp/hi-lock.el
Emacs Lisp
Showing the top two matches
Last indexed Aug 15, 2018
lisp/net/eudc-bob.el
Emacs Lisp
Showing the top match
Last indexed Aug 16, 2018
lisp/emacs-lisp/easymenu.el
Emacs Lisp
Showing the top two matches
Last indexed Jun 25, 2018
lisp/mouse.el
Emacs Lisp
Showing the top two matches
Last indexed Jun 25, 2018
| 1983 | and selects that window." |
| 1984 | (interactive "e") |
| 1985 | (mouse-minibuffer-check event) |
| 1986 | (let ((buf (x-popup-menu event (mouse-buffer-menu-map))) |
| … | |
| 2220 | (declare-function generate-fontset-menu "fontset" ()) |
| 2221 | |
| 2222 | (defun mouse-select-font () |
| 2223 | "Prompt for a font name, using `x-popup-menu', and return it." |
doc/lispref/frames.texi
Showing the top two matches
Last indexed Jul 28, 2018
| 3535 | motion keys---@kbd{C-n}, @kbd{C-p}, or up- and down-arrow keys. |
| 3536 | |
| 3537 | @defun x-popup-menu position menu |
| 3538 | This function displays a pop-up menu and returns an indication of |
| … | |
| 3566 | submenu. (Note that @code{x-popup-menu} does not actually execute the |
| 3567 | command bound to that sequence of events.) On text terminals and |
src/xmenu.c
C
Showing the top two matches
Last indexed Aug 11, 2018
| 222 | /* Loop in Xt until the menu pulldown or dialog popup has been |
| 223 | popped down (deactivated). This is used for x-popup-menu |
| 224 | and x-popup-dialog; it is not used for the menu bar. |
| … | |
| 2294 | corner of the menu as a whole ends up at given coordinates. This |
| 2295 | is what x-popup-menu says in its documentation. */ |
| 2296 | x += width/2; |