• 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: Image in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image in NSOutlineView


  • Subject: Re: Image in NSOutlineView
  • From: Ben Stiglitz <email@hidden>
  • Date: Fri, 29 Aug 2008 06:27:47 -0700

I'm trying to develop an application that uses an OutlineView in which it
displays items like a disclosure triangle, then one checkbox, then a text
field int the same column. For that I gone through the
DragNDropOutlineview example provided with Xcode. Then I copied the
ImageAndTextCell class and uses two images, one is checked and other is
unchecked. Now the application works with showing one image.I want to
change the image when clicking on it. How can I do that ?. In which method
I want to write the code ?

Instead of an image with a check box on it, you can add a table view column to the outline view with an NSButtonCell of the appropriate style as its prototype.


-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


References: 
 >Image in NSOutlineView (From: email@hidden)

  • Prev by Date: Re: programatically quit a program
  • Next by Date: RE: Convert unicode string into ascii
  • Previous by thread: Image in NSOutlineView
  • Next by thread: Image in NSOutlineView
  • Index(es):
    • Date
    • Thread