Re: creating sth like "System Preferences"
Re: creating sth like "System Preferences"
- Subject: Re: creating sth like "System Preferences"
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 12 Jul 2002 20:26:38 -0700
On Friday, July 12, 2002, at 07:54 PM, Hok Chun So wrote:
Dear all,
I am a newcomer to Cocoa.
In OS X application - System Preferences, users can choose the
icons below the toolbar and the window redraws itself and
resize itself nicely.
How can I create such an effect? I will be great if you can
outline what APIs I should look for.
The method you want is -setFrame:display:animate: in the
NSWindow class.
Is there any sample code?
I don't think so, but it's a pretty simple thing to use.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.