[Top][All Lists]

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

Re: AppIcon patch revisited

From: Richard Frith-Macdonald
Subject: Re: AppIcon patch revisited
Date: Sat, 10 Feb 2001 08:45:41 +0000

On Saturday, February 10, 2001, at 07:45 AM, Dan Pascu wrote:

> On  9 Feb, Richard Frith-Macdonald wrote: 
> >> btw, why is appicon movement needed under program control (not user  
> >> control)?  
> >  
> > Under OpenStep, they are the same thing ... the user clicks on the appicon 
> > and drags ... the program decides how the appicon should react to that ... 
> > and usually moves the appicon to follow the mouse ... but has the right to 
> > do something different if it wants to. 
> This should be easy. If the app doesn't want it to move, it shouldn't 
> relay the left click back to wmaker. 

But the app doesn't do the relaying ... that's handled by the backend library.
The app (ie the code written by the app developer, not the library code) knows
nothing about window managers and X.

It's important to realise that a GNUstep app is *NOT* an X application - the
application code has absolutely nothing to do with X, and any X interaction
is performed only by a backend library.

Check out the OpenStep or MacOS-X AppKit API ... this is the API that a GNUstep
gui application is written to, not the X API.  

reply via email to

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