discuss-gnustep
[Top][All Lists]
Advanced

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

Re: A little help for GWorkspace


From: Enrico Sersale
Subject: Re: A little help for GWorkspace
Date: Fri, 12 Jan 2001 18:33:45 +0200 (EET)

On Fri, 12 Jan 2001, Enrico Sersale wrote:

> 
> On Fri, 12 Jan 2001, Richard Frith-Macdonald wrote:
> 
> > 
> > On Friday, January 12, 2001, at 12:20 PM, Enrico Sersale wrote:
> >   
> > > I'm wondering if this daemon could be also linked with some X libs and 
> > > libWMaker to get and distribute notifications from the window manager...  
> > 
> > No point - the window manager can already use the NSDistributedNotification
> > class from gstep-base.  Or a version of the distributed notification server
> > could be built to forward window manager notifications - like the pasteboard
> > daemon, we could provide both non-X and X versions of the same program.
> > 
> > Of course, this begs the questions - why would you want to send window 
> > manager
> > notifications out to all apps?
> > 
> 
> Perhaps this is not needed and I'm wrong, but let me ask a question.
> 
> Example:
> 
> - double click on an icon or on a browser cell.
> 
> - this tells an app to open a file.
> 
> - the window manager creates a window.
> 
> - now move some window to hide this window.
> 
> - double click again on the same icon.
> 
> - our window should be taken in front of the others.
> 
> Actually, this doesn't happen. 
> How is this supposed to work?
> 
 
Well, today I've said some foolishness, that is...

First of all, I was wondering to an app->window manager notification but I
wrote it reversely!

Second, all this is not necessary. 

To take a window in front of the others is sufficent a 
[win orderFront: nil], and this can be done by the app itself in
__application_openFile if the file is already open.

I don't know why I was so confused, I've already used this method in
GDraw...




reply via email to

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