• 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
NSToolbar - dynamic button addition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbar - dynamic button addition


  • Subject: NSToolbar - dynamic button addition
  • From: Laurent Michel <email@hidden>
  • Date: Thu, 11 Aug 2005 23:23:27 -0400

Hi,

A quick question... Is there a way to dynamically add new button to an NSToolbar ? Essentially, when the application starts, not all buttons are known and as plugins get loaded, I have to add buttons for them.

My toolbar works great right now (with static content).

Note that, at compile time and even at runtime when the toolbar is first created, I do not know the list of potential entries.

Thanks for any tip!

--
  Laurent


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSToolbar - dynamic button addition
      • From: Justin Anderson <email@hidden>
  • Prev by Date: Re: NSBezierPath stroke gives weird AA result.
  • Next by Date: Re: NSBezierPath stroke gives weird AA result.
  • Previous by thread: Re: NSTextInput protocol - 'unmarkText' is late?
  • Next by thread: Re: NSToolbar - dynamic button addition
  • Index(es):
    • Date
    • Thread