• 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: NSToolbar Acting as Tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar Acting as Tabs


  • Subject: Re: NSToolbar Acting as Tabs
  • From: Matt Gemmell <email@hidden>
  • Date: Thu, 17 Jul 2003 18:11:11 +0100

On 17/7/03 at 5:00 pm, Thomas Deniau said:

> > I can do toolbars; I can do tabs. The question is how to make a
> > toolbar so it changes window content LIKE tabs?
>
> Use an "invisible" tabview (there is a tabless option in IB) and then
> just call the method to change the selected tab view item when the
> toolnar button is clicked...
>
> > The prime example of this would be how System Preferences works.
>
> If you can afford 600 additional kilobytes in your app, consider
> using the OmniAppKit. They have something which exactly reproduces
> the system preferences behavior.


Or if you don't need the display of all icons below the toolbar (i.e.
you just need an NSToolbar whose items change the view in the window, as
with a tabview), then you might also try my SS_PrefsController class,
which is designed to do exactly that.

It's with my other Cocoa source, here:

<http://www.scotlandsoftware.com/products/source/>

Cheers,
-Matt

--
Matt Gemmell
Irate Scotsman
http://www.scotlandsoftware.com/blog/
_______________________________________________
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.

References: 
 >Re: NSToolbar Acting as Tabs (From: "Thomas Deniau" <email@hidden>)

  • Prev by Date: Re: now it really gets weird
  • Next by Date: Instantiation
  • Previous by thread: Re: NSToolbar Acting as Tabs
  • Next by thread: Re: NSToolbar Acting as Tabs
  • Index(es):
    • Date
    • Thread