• 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
Editable NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Editable NSBrowser


  • Subject: Editable NSBrowser
  • From: Evan Cooke <email@hidden>
  • Date: Tue, 18 Jun 2002 15:21:30 -0700

I am trying to created an editable NSBrowser that will allow the user to navigate with the browser as usual with a single click and edit a cell with a double click. I have tried setting the browser's cellPrototype to be an editable cell but the cell starts editing after one click. Is there a way to tell a NSMatrix or NSCell to begin an editing session. One way might be to use NSCell's - (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent; but that requires some parameters I have no idea how to obtain (like the view, editor, event...). There must be an easier way... I hope.

If someone could point me to a bit sample code that provides this functionality that would be great too.

thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Distant DO
  • Next by Date: Locating Library/Preferences folder...
  • Previous by thread: NSClipView and ATSUI drawing
  • Next by thread: Re: Editable NSBrowser
  • Index(es):
    • Date
    • Thread