• 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: View change Buttons like in finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View change Buttons like in finder


  • Subject: Re: View change Buttons like in finder
  • From: Jeff Gilbert <email@hidden>
  • Date: Thu, 24 Jun 2004 08:16:51 -0500

Hi Rahul,

On Thursday, June 24, 2004, at 04:04AM, Rahul Verma <email@hidden> wrote:

>Does some one know how to create buttons like in finder for changing the
>views? I like the Rounded edges of the corner buttons and the square edges
>of the inner button. Is it a normal button behavior? I was not able to do
>the same through IB, maybe I missed something or is it through programming
>interface.

If you can target Panther then NSSegmentedControl is your friend. This is a new control introduced with Panther to do exactly what you want. You can read more about NSSegmentedControl at

http://developer.apple.com/documentation/Cocoa/Conceptual/SegmentedControl/

>
>
>Also can I create a button set with more than 3 buttons like in iPhoto or
>iMovie??

Yes.

>
>Can some one lead me to an example?
>

The above link contains sample code.

enjoy,
Jeff Gilbert
_______________________________________________
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.


  • Prev by Date: Obtain customized drawing rect from a hidden nsimageview
  • Next by Date: Re: View change Buttons like in finder
  • Previous by thread: Obtain customized drawing rect from a hidden nsimageview
  • Next by thread: Re: View change Buttons like in finder
  • Index(es):
    • Date
    • Thread