Re: Retaining state of windows and panels
Re: Retaining state of windows and panels
- Subject: Re: Retaining state of windows and panels
- From: Henry McGilton <email@hidden>
- Date: Sun, 16 Jan 2005 14:23:57 -0800
On Jan 16, 2005, at 1:51 PM, Chad Armstrong wrote:
I would like to be able to retain information of an NSPanel (a
floating palette), such as where the panel is, its size, whether it is
open or not, and have those settings be restored when the application
is opened again. Is there a simple way about doing this, or is this a
more involved procedure on saving the window's (or panel's)
information before the application is closed?
Look in the NSWindow documentation under the heading:
Saving the frame to user defaults
Cheers,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden