wxMac: The dot in the red circle in document windows
Stefan Csomor
csomor at advancedconcepts.ch
Mon Jul 2 04:47:15 PDT 2007
Hi
there are two related attributes with a document that should be supported, and the question really is where to put them in the hierarchy, one is the modified dot, the other one is the filepath of the document, allowing things like document drag/drop and folder path popup when command-clicking on the window title.
any preferences ?
Thanks,
Stefan
> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwidgets.org]
> Sent: Montag, 2. Juli 2007 13:19
> To: wx-users at lists.wxwidgets.org
> Subject: Re: wxMac: The dot in the red circle in document windows
>
> On Mon, 2 Jul 2007 13:37:23 +0200 Yoav Gonen <YoavG at HumanEyes.com>
> wrote:
>
> YG> It is standard behavior on Mac that if you have a document window
> and
> YG> the document is "dirty" (needs saving), a dot appears in the red
> circle
> YG> which is used to close the window. I don't think there's support
> for
> YG> this, currently, in wx. In Carbon it is done by calling
> YG> SetWindowModified. Does anyone have any idea where this should go
> in wx?
>
> This should definitely be done automatically by the docview classes
> (which
> have the information about whether the document is modified or not)
> but I'm
> not sure if it is enough as not all document-based applications use
> docview.
>
> YG> Maybe a method by that name in wxTopLevelWindow that does nothing
> on
> YG> other platforms?
>
> Yes, this looks like a good idea.
>
> YG> Is there any such visual indication on other platforms?
>
> Not AFAIK.
>
> Regards,
> VZ
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list