Re: assigning the same keyboard command to more than one menu item
Re: assigning the same keyboard command to more than one menu item
- Subject: Re: assigning the same keyboard command to more than one menu item
- From: John Stiles <email@hidden>
- Date: Wed, 20 Dec 2006 11:44:17 -0800
OK. I would say that if there are duplicates, you should pick any
menu item and put the command key on that one. By "pick any," choose
the easiest consistent algorithm you can think of—e.g. if the menu
items were in a big array, pick the lowest-numbered one and use that.
On Dec 20, 2006, at 11:40 AM, Josh Aas wrote:
If you're asking what it should do technically, the answer is whatever
it wants. If the author assigns two different actions to those menu
items, that is wrong and I don't care which one gets activated. If
they have the same action I don't care either because its the same
action.
-Josh Aas
On 12/20/06, John Stiles <email@hidden> wrote:
Is a XUL/Gecko app which assigns identical command keys to
multiple menu
items really well-formed? What would such a beast do?
On Dec 20, 2006, at 11:22 AM, Josh Aas wrote:
That is not an option. I am not building a particular application
in which I
can just rethink my menu structure - I am building a cross-
platform toolkit
with which people build all sorts of applications, and being able
to do this
is a requirement (the platform is XUL/Gecko, example applications are
Firefox, Thunderbird, Songbird...). I have no control over what
they put in
their menu bars.
Thanks,
Josh Aas
On 12/20/06, Ronny Reichmann <email@hidden> wrote:
Am 20.12.2006 um 07:21 schrieb Josh Aas:
> I need to be able to assign the same key equivalent and
modifiers to
> multiple menu items in my Cocoa application's menu bar. I know that
> doesn't
> seem like good UI design,
You answered your question. Rethink your menu-structure completely or
just asign one key-equ. and leave the other menu items without. Why?
Because:
> [...] they will always have the same action/target.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden