discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessing/setting file name for NSSavePanel


From: address@hidden
Subject: Re: accessing/setting file name for NSSavePanel
Date: Thu, 26 Nov 2009 00:39:49 -0800 (PST)
User-agent: G2/1.0

On 26 Nov., 00:18, Riccardo Mottola <mul...@ngi.it> wrote:
> Hi,
>
> I want to manipualte the filename of a NSSavePanel while it is shown.
> The events of the manipulation come from the accessoryview. I want to
> read it, modify it and set it back depending on events coming from the
> accessory view components.
> How can I do that? The documentation says that "filename" should be used
> only at the end of the modal session and I understand the events coming
> from the controls inside the accessoryviews are during a modal session.
> Furthermore I found no provision on how to set the filename.
>
> Any suggestions? The best solution would be portable to Mac, so I'd
> prefer not to use internal variables/methods.
>
> Thank you,
>     Riccardo

I think the Open/SavePanel has a delegate that can be used to filter/
manipulate the file selection.
What I am not sure is how ou make the SavePanel call the delegate and
update the file name if you press the button of an accessory view.

BR,
Nikolaus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]