bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar


From: Alan Third
Subject: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
Date: Wed, 20 Oct 2021 21:47:39 +0100

On Wed, Oct 20, 2021 at 02:36:47PM +0200, Robert Pluim wrote:
> >>>>> On Wed, 20 Oct 2021 18:26:21 +0800, Po Lu via "Bug reports for GNU 
> >>>>> Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> 
> >>>>> said:
> 
>     >> It doesnʼt crash, and performActionForItemAtIndex is called, but it
>     >> doesnʼt actually cause anything to happen (on macOS).
>     >> 
>     >> Robert
> 
>     Po> Hmm, thanks.  Do you know of a good solution for this aside from
>     Po> generating a fake mouse click event?
> 
> No. Googling indicates that performActionForItemAtIndex is the way to
> do this, so I donʼt know why it isnʼt working.

Is there a reason to avoid faking a mouse event?

Assuming the first answer here is correct:

    
https://stackoverflow.com/questions/21583559/nsmenu-programmatically-select-item

it looks quite straightforward and clean.
-- 
Alan Third





reply via email to

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