[Mac, wx 2.8.1] file dialogs and OS-X packages
Stefan Csomor
csomor at advancedconcepts.ch
Tue Jun 26 12:27:42 PDT 2007
Hi
> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwidgets.org]
> Sent: Dienstag, 26. Juni 2007 20:31
> To: wx-users at lists.wxwidgets.org
> Subject: Re[4]: [Mac, wx 2.8.1] file dialogs and OS-X packages
>
> On Tue, 26 Jun 2007 20:24:57 +0200 Stefan Csomor
> <csomor at advancedconcepts.ch> wrote:
>
> SC> you mean a method to indicate 'treat packages as folders' as a
> instance
> SC> method on a dialog or as a static method. The problem with
> instance
> SC> methods would be that the one-liners like wxFileSelector
> (although if
> SC> you pass all params this won't fit onto one line;-) wouldn't be
> SC> supported,
>
> I'd suggest doing the same thing as for wxMessageBox (well, except
> it's
> not done yet, that is), i.e. use wxFileDlgOptions object which would
> have
> the same (instance) methods and which you could pass to
> wxFileSelector.
>
> SC> therefore I'd slightly lean towards a
> SC> wxFD_MAC_ALLOW_OPEN_PACKAGES or something
>
> Well, we do have a couple of flags left so if we must do it like
> this,
> it's ok too but I find the flag name a bit confusing -- if you call
> it
> "OPEN", what does it do when saving?
it allows you to 'open' packages as if they were normal folders, ie you'd descend into myApplication.app -> Contents etc. this behavior is identical for open and save actions, I've copied the name from the Nav' Services Options, but of course any other suitable name will do as well
Best,
Stefan
More information about the wx-users
mailing list