• 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
Double-clicking NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Double-clicking NSOutlineView


  • Subject: Double-clicking NSOutlineView
  • From: Paul Mix <email@hidden>
  • Date: Thu, 19 Jul 2001 13:54:48 -0500

Bit of a mystery here:

I have an NSOutlineView that absolutely refuses to send an action to its delegate when it's double clicked. In the delegate's -awakeFromNib, I call:

[myOutlineView setDoubleAction:@selector(userDoubleClickedOutlineView:)];

myOutlineView is correctly pointing to the OLV within -awakeFromNib (the method also creates a custom column type for the OLV and registers it for drag types). However, the delegate's userDoubleClickedOutlineView: simply doesn't get called on a double-click. Everything else about the two classes seem to be wired correctly, and the delegate implements all other required OLV delegate methods.

Note: the OLV is in the view of a drawer, and the controller acting as the OLV's delegate/data-source inherits directly from NSObject. The same controller object is also the delegate of the drawer itself (if that matters).

I did make sure that none of the OLV columns are editable.

Any suggestions would be appreciated...

TIA,
- Paul M
--


  • Follow-Ups:
    • Re: Double-clicking NSOutlineView
      • From: Paul Mix <email@hidden>
References: 
 >NSToolBar Implementation (From: Michael Emfinger <email@hidden>)

  • Prev by Date: Re: [Help] How to get instance of instantiated Controller in nib from Controller in another nib? (Java)
  • Next by Date: UserDefaults and domain names
  • Previous by thread: Re: NSToolBar Implementation
  • Next by thread: Re: Double-clicking NSOutlineView
  • Index(es):
    • Date
    • Thread