• 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
Change a NSToolbarItem appearence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change a NSToolbarItem appearence


  • Subject: Change a NSToolbarItem appearence
  • From: "Antonio Faldetta" <email@hidden>
  • Date: Mon, 24 Feb 2003 12:39:43 NFT

Hi all, I have a toolbar item that starts a task and another that stops it (they actually call the same action). They work fine and I validate the one or the other depending on the status of the task (isRunning).
Now I would like to have a single item in order to start/stop the task (like the PB run/stop program), but I don't know how to change image, label and tooltip of the item once it's been created.
I tried to remove/insert the item and it works, but it looks ugly.
I think I should implement some delegate, but I don't know wich one and how.
Any hint will be appreciated.

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.

  • Follow-Ups:
    • Re: Change a NSToolbarItem appearence
      • From: Cristian Savu <email@hidden>
  • Prev by Date: Re: New to Cocoa
  • Next by Date: Re: New to Cocoa
  • Previous by thread: Re: OpenGL Troubles
  • Next by thread: Re: Change a NSToolbarItem appearence
  • Index(es):
    • Date
    • Thread