setEnabled equivalent for non-NSControl views
setEnabled equivalent for non-NSControl views
- Subject: setEnabled equivalent for non-NSControl views
- From: email@hidden
- Date: Fri, 20 Sep 2013 12:10:40 +0900
I need to find a way to enable and disable views like NSScrollView and NSTextView in a manner similar to what happens when sending setEnabled: to views that inherit from NSControl
That is, for such views to gray out and stop responding to mouse, key, scroll and gesture events.
Kind of a modal state, if you will.
So far it seems way more complicated than it should be which makes me believe I'm missing something obvious.
Applying CIFilters and intercepting events seems like overkill.
Anybody have suggestions on how best to achieve this?
Thanks
John
Sent from my iPhone
_______________________________________________
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