Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
- Subject: Re: [SOLVED, with reservations] Re: Turn off menu highlight in outline view?
- From: "I. Savant" <email@hidden>
- Date: Tue, 18 Aug 2009 06:54:47 -0400
On Aug 17, 2009, at 10:32 PM, Graham Cox wrote:
It seems strange because on the face of it -menuForEvent: is meant,
as far as I can see, merely to return a property - the view's
contextual menu (the event providing the context). What is done with
the menu as far as displaying it, is down to the client code that
invokes this. (Though what it would do other than pop it up and
track it, I couldn't say).
It is surely not meant to implement behaviours such as visual
feedback (is this done here by any other class?).
Agreed. If this *is* the case (the highlighting is done from the -
menuForEvent: method), this is very surprising to me. I would consider
this - and forgive the bluntness - an ugly mess.
It's akin to asking the AddressBook person view for its "-lastName"
field contents and having it highlight the field before giving up its
secrets. MVC? Feh! We don't need no MVC! ;-)
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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