• 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: How to implement a ProjectBuilder's tabview?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement a ProjectBuilder's tabview?


  • Subject: Re: How to implement a ProjectBuilder's tabview?
  • From: Mike Ferris <email@hidden>
  • Date: Thu, 24 Jun 2004 07:38:58 -0700

ProjectBuilder did this as a subclass of NSSplitView and added tabs.
NSTabView was not used at all (except that NSTabViewItem was used as
the inspiration for the API of the PBXSlidingTabViewItem class...)

Drawing vertical text is simple. use an NSAffineTransform to rotate
your coordinate system and then use NSStringDrawing or NSTextFieldCell
to draw the text.

Mike


Begin forwarded message:

> From: Fei Li <email@hidden>
> Date: June 23, 2004 2:49:46 PM PDT
> To: email@hidden
> Subject: How to implement a ProjectBuilder's tabview?
>
> Hello all,
> I'd like to implement a tabview which is similar to ProjectBuilder's
> Files/Classes/Bookmarks... tabview, or similar to Explorer's
> Favrites/History/Search... tabview.
>
> Some discuss in this mailing list says should create a cell class for
> tabs and use NSSplitView and NSTabView. But how can I create a button
> or NSTextField to show it's title in vertical direction like "Files"
> tab in ProjectBuilder?
>
> Thanks for any information!
> Fei
> _______________________________________________
> 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.
_______________________________________________
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.


References: 
 >How to implement a ProjectBuilder's tabview? (From: Fei Li <email@hidden>)

  • Prev by Date: Re: Slightly more advanced Cocoa learning resources
  • Next by Date: Re: Forcing NSSplitView to constrain position?
  • Previous by thread: How to implement a ProjectBuilder's tabview?
  • Next by thread: Forcing NSSplitView to constrain position?
  • Index(es):
    • Date
    • Thread