Re: setting Custom view into menuItem in Tiger
Re: setting Custom view into menuItem in Tiger
- Subject: Re: setting Custom view into menuItem in Tiger
- From: Peter Ammon <email@hidden>
- Date: Thu, 14 Feb 2008 19:41:03 -0800
On Feb 14, 2008, at 12:58 PM, cai qin wrote:
Hi guys
I am stuck in some problems about setting a custom view into
menuItem in
Tiger. I know that there is a method called setView in menuItem in
leopard
and it's easy to use.
But what I need is to set a custom view into menuItem in Tiger.
Sorry, this is not possible. You can do some custom drawing in an
NSMenuItem by setting an image, or an attributed string that contains
an NSTextAttachmentCell, but you cannot replace the content with a
view, or do any event handling.
-Peter
_______________________________________________
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