Re: Tab view with icons in tabs?
Re: Tab view with icons in tabs?
- Subject: Re: Tab view with icons in tabs?
- From: Markus Magnuson <email@hidden>
- Date: Mon, 8 Jan 2007 21:03:53 +0100
8 jan 2007 kl. 20.41 skrev Stefan Wolfrum:
Hi all,
you know these "inspector" like floating panel windows (NSPanel I
suppose) in
iWeb, Pages, Keynote etc.?
All the GUI elements in there are grouped on tabs and each tab is
itentified via
an icon at the very top of this NSPanel window.
I want to make that, too, but can't find this kind of thing in IB.
There's just this
plain old NSTabView which doesn't seem to have an appropriate view
property.
Now, is it a special (custom) NSTabView with custom NSTabViewItems? Or
is this "icon bar" in fact a custom NSToolbar with hand-coded
functionality
for switching the "tabs"?
Is it supported by Cocoa out-of-the-box at all? Or has Apple made
it's own
special Class?
But it can be seen in other Apps, too, like Sandvox (no icons but
text labels
there for the tabs). Is everybody inventing the wheel again?
Yes, it's custom. Have a look at: http://indiehig.com/wiki/Inspectors
You'll even find code there. Good luck!
--
Markus Magnuson
email@hidden
"Life... is like a grapefruit. It's orange and squishy, and has a
few pips in it, and some folks have half a one for breakfast."
- Douglas Adams (1952 - 2001)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden