Re: Context Menu in NSBrowser
Re: Context Menu in NSBrowser
- Subject: Re: Context Menu in NSBrowser
- From: Benjamin Stiglitz <email@hidden>
- Date: Tue, 27 Jan 2009 10:49:10 -0500
- Mail-followup-to: email@hidden
> All NSViews show, when control-clicked, their context menu.
> But not the NSView subclass NSBrowser.
>
> Is this a documented feature or a bug?
This is a bug in the Leopard and earlier versions of AppKit.
For now, you can loop through the matrices using -matrixForColumn: and
set their menus individually. You’ll also need to set the menu of their
superviews, the clip views which enclose the matrices, if you wish to
support context menus in the areas without row content.
-Ben
_______________________________________________
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