Re: System Preferences behaviour for NSToolbar
Re: System Preferences behaviour for NSToolbar
- Subject: Re: System Preferences behaviour for NSToolbar
- From: j o a r <email@hidden>
- Date: Fri, 28 Nov 2003 10:38:15 +0100
Hej,
What is it that you need help with? Adding a toolbar is easy, right?
Let's say that you keep an array of views - the preference plugin
views. Just hook up the toolbar items to a method that switch to the
correct view, and then do [myWindow setContentView: someView]. If you
want the animated resize you might have to do a little bit more work,
but that's basically all there is to it.
Anything else?
j o a r
On 2003-11-28, at 10.22, Jens Bdckman wrote:
>
Oh most wise Mailing List, hear my question.
>
>
After looking through the documentation for the related AppKit
>
classes, I could not find any information about how to mimic the
>
behaviour of System Preferences, where you use a NSToolbar for
>
switching between preference panes. Does anyone have some kind of
>
pointer for me?
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.