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

Custom NSToolbarItem


  • Subject: Custom NSToolbarItem
  • From: "Colin O'Connor" <email@hidden>
  • Date: Mon, 15 Nov 2004 21:22:17 -0500

I want to use an NSToolbar to switch views of my application (like is done
in System Prefs, and many other apps), but I also want to include a couple
NSButtons in the toolbar. My attempts to do so have been unsuccessful thus
far.

Is it possible to have an NSToolbar with both selectable items (like the
standard Config, Save, etc.) and items that act as if they weren't in a
toolbar (like the NSButton)? Is so, can you point me in the direction? I
tried adding a button using setView: but that didn't work.

Thanks,
Colin

 _______________________________________________
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: Custom NSToolbarItem
      • From: The Karl Adam <email@hidden>
  • Prev by Date: Re: Access instance var from NSValueTransformer
  • Next by Date: Re: A framework for parsing HTML?
  • Previous by thread: Re: [Proposal] On-the-fly NIB localization
  • Next by thread: Re: Custom NSToolbarItem
  • Index(es):
    • Date
    • Thread