Function: w32-menu-bar-open

w32-menu-bar-open is an interactive and byte-compiled function defined in w32-win.el.gz.

Signature

(w32-menu-bar-open &optional FRAME)

Documentation

Start key navigation of the menu bar in FRAME.

This initially activates the first menu-bar item, and you can then navigate with the arrow keys, select a menu entry with the Return key or cancel with one or two Escape keypresses. (Two Escape keypresses are needed when a menu was already dropped down by pressing Return.)

If FRAME has no menu bar, this function does nothing.

If FRAME is nil or not given, use the selected frame. If FRAME does not have the menu bar enabled, display a text menu using tmm-menubar.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term/w32-win.el.gz
;;;; Function keys

 ;;; make f10 activate the real menubar rather than the mini-buffer menu
 ;;; navigation feature.
(defun w32-menu-bar-open (&optional frame)
   "Start key navigation of the menu bar in FRAME.

This initially activates the first menu-bar item, and you can then navigate
with the arrow keys, select a menu entry with the Return key or cancel with
one or two Escape keypresses.  (Two Escape keypresses are needed when a
menu was already dropped down by pressing Return.)

If FRAME has no menu bar, this function does nothing.

If FRAME is nil or not given, use the selected frame.
If FRAME does not have the menu bar enabled, display a text menu using
`tmm-menubar'."
   (interactive "i")
   (if menu-bar-mode
       (w32-send-sys-command ?\xf100 frame)
     (with-selected-frame (or frame (selected-frame))
       (tmm-menubar))))