FROM : Development
DATE : Wed Apr 30 23:23:01 2008
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_removed>)
>
> 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_removed>
>
> This email sent to <email_removed>
DATE : Wed Apr 30 23:23:01 2008
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_removed>)
>
> 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_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| yogesh kumar | Apr 30, 16:54 | |
| Jens Alfke | Apr 30, 17:10 | |
| Development | Apr 30, 23:23 | |
| Jens Alfke | Apr 30, 23:40 |






Cocoa mail archive

