Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icons on the NSTabview



Funny you should mention this. I JUST had to contend with this myself. I did it a little different, more parts but easier to deal with I think, than trying to recalculate labels and all.

Create a nsview to act a a wrapper.
Place a Tabless tabview inside this
Also place another nsview where ever you would like tabs to appear
Now you can use buttons, which can easily have icons, as the tabs
simply have the buttons tell a nsview controller subclass to switch the tabs. You can also easily use the setState: to change the button color for clicked and inactive tabs.
This is an extremely brief description of the process I went through. If you need more information I can provide a more detailed description for you.



On Apr 30, 2008, at 7:54 AM, yogesh kumar wrote:

If is it possible to add the icons pictures on the NSTabviews? Any direction
is appriciated. Thanks.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Icons on the NSTabview (From: "yogesh kumar" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.