Re: Receiving modifer-clicks on open menus
Re: Receiving modifer-clicks on open menus
- Subject: Re: Receiving modifer-clicks on open menus
- From: Jim Witte <email@hidden>
- Date: Tue, 20 Apr 2004 00:54:11 -0500
That might work, if I understand what you mean (something like the way
the 'choose modifer' menus in Panthers Expose, etc panels work?)
The specific application is Camino: You have a bookmark-bar, which
can contain items which activate on a click, or folders, which drop
down a menu on a click. You can also control-click (or right-click) on
an item to bring up a menu that has Get Info (Cmd-I), Delete, Open Item
in New Tab, etc. I'd like the same functionality for items in the
folder menus: I'd click on a folder to drop it's menu down, and then
control-click on one of the items to drop down a "sub-contextual menu"
that would apply to just that item.
I suppose I could do a work-around where you'd control-click on a
folder *icon* (which currently brings up a "folder contextual menu":
Open All Links As Tabs, Delete, Get Info, etc), and then have that
create a list view or something that would *look* like a menu, and have
parts of it respond to control-clicks. But that just seems ugly..
(And if you actually wanted to get info on the folder, you'd have to
control-click it twice or something, unless I wanted to have this "list
view behavior" be used for *all* clicks on folders and not use real
menus at all, which would be even *more* ugly..
Jim
On Apr 19, 2004, at 8:41 AM, M. Uli Kusterer wrote:
At 23:10 Uhr -0500 18.04.2004, Jim Witte wrote:
Is it possible for an app to trap a modifier-click (say
Control-click) on a menuitem of an open menu?
What do you want to do? There is a way to have several menu items
that have the same shortcut but different modifier keys grouped into
one menu item ("previous alternate" or something like that, I think),
would that do the trick?
That way, when the user opens a menu and holds down a particular
modifier key, the items are automatically swapped out, but it also
works with shortcuts.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
Jim Witte
email@hidden
Indiana University CS
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.