• 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: Icons on the NSTabview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icons on the NSTabview


  • Subject: Re: Icons on the NSTabview
  • From: Development <email@hidden>
  • Date: Wed, 30 Apr 2008 14:23:01 -0700

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:
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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Icons on the NSTabview
      • From: Jens Alfke <email@hidden>
References: 
 >Icons on the NSTabview (From: "yogesh kumar" <email@hidden>)

  • Prev by Date: Re: [MEET] May CocoaHeads Mac Developer Meetings
  • Next by Date: Re: beginSheetModalForWindow: and Distributed Objects
  • Previous by thread: Re: Icons on the NSTabview
  • Next by thread: Re: Icons on the NSTabview
  • Index(es):
    • Date
    • Thread