Re: Detecting ctrl-click (context menu) in NSBrowser
Re: Detecting ctrl-click (context menu) in NSBrowser
- Subject: Re: Detecting ctrl-click (context menu) in NSBrowser
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 3 Feb 2005 14:25:01 -0700
On Feb 3, 2005, at 2:19 PM, Mikael Arctaedius wrote:
Nope, it doesn't work when I connect the NSBrowser's menu outlet to
the menu. It works for a NSTableView that I have in the same window
and it works for the window's NSView, but when connected to the
NSBrowser no context menu is displayed when ctrl-clicking in the
browser area...
I have also tried the setMenu method invoked on the browser object.
Is it a bug?
Probably not. If it doesn't work when connected to the browser, you
might need to manually connect it to the matrices created by the
browser. This is easiest to do if you are using an "active" browser
delegate, since you can just call -setMenu: on the matrix in the
delegate.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden