emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu help text not shown when using keyboard


From: Lennart Borgman
Subject: Re: Menu help text not shown when using keyboard
Date: Mon, 24 Oct 2005 01:48:31 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Eli Zaretskii wrote:

Date: Sun, 23 Oct 2005 19:17:00 +0200
From: Lennart Borgman <address@hidden>
CC: address@hidden

Start with emacs -Q and open the menus from the keyboard with F10.

Ahh, that...  I think it only works on Windows and perhaps with GTK.

Anyway, our ability to show tooltips in this case depends on whether
the keyboard events that navigate the menus are sent to Emacs's
keyboard queue.  I suspect they aren't.
I think it is available, at least on w32, see w32menu.c:

void
w32_menu_display_help (HWND owner, HMENU menu, UINT item, UINT flags)
{
 if (get_menu_item_info)
   {
     struct frame *f = x_window_to_frame (&one_w32_display_info, owner);
     Lisp_Object frame, help;

     /* No help echo on owner-draw menu items, or when the keyboard is used
    to navigate the menus, since tooltips are distracting if they pop
    up elsewhere.  */
     if (flags & MF_OWNERDRAW || flags & MF_POPUP
     || !(flags & MF_MOUSESELECT))
   help = Qnil;
     else
...






reply via email to

[Prev in Thread] Current Thread [Next in Thread]