• 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: Rahul Verma <email@hidden>
  • Date: Fri, 25 Jun 2004 09:03:43 +0530

Now I am running into a small problem. How do I increase the height of my
control like we have it in iMovie.



Rahul



-----Original Message-----
From: Jeff Gilbert [mailto:email@hidden]
Sent: Thursday, June 24, 2004 6:47 PM
To: Rahul Verma
Cc: email@hidden
Subject: Re: View change Buttons like in finder



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: NSTabView drawing glitches
  • Next by Date: Sharing objects between threads
  • Previous by thread: Re: View change Buttons like in finder
  • Next by thread: Running a single thread as root...sort of.
  • Index(es):
    • Date
    • Thread