Re: creating sth like "System Preferences"
Re: creating sth like "System Preferences"
- Subject: Re: creating sth like "System Preferences"
- From: Thomas Harrington <email@hidden>
- Date: Sat, 13 Jul 2002 15:50:33 -0600
On Friday, July 12, 2002, at 09:26 PM, John C. Randolph wrote:
On Friday, July 12, 2002, at 07:54 PM, Hok Chun So wrote:
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.
There's an example of doing this in the Garfinkel & Mahoney book.
_______________________________________________
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.