• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting ctrl-click (context menu) in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Detecting ctrl-click (context menu) in NSBrowser (From: Mikael Arctaedius <email@hidden>)
 >Re: Detecting ctrl-click (context menu) in NSBrowser (From: Nick Zitzmann <email@hidden>)
 >Re: Detecting ctrl-click (context menu) in NSBrowser (From: Mikael Arctaedius <email@hidden>)

  • Prev by Date: Re: Detecting ctrl-click (context menu) in NSBrowser
  • Next by Date: Re: NSCalendarDate picker widget?
  • Previous by thread: Re: Detecting ctrl-click (context menu) in NSBrowser
  • Next by thread: Re: Detecting ctrl-click (context menu) in NSBrowser
  • Index(es):
    • Date
    • Thread