On 10/22/06, Quentin Mathé <[EMAIL PROTECTED]> wrote:
Le 22 oct. 06 à 17:56, Yen-Ju Chen a écrit :
> On 10/21/06, Quentin Mathé <[EMAIL PROTECTED]> wrote:
[snip]
>> Knwowing when applications start and finish starting could achieved
>> with NSWorkspace help since it provides all the necessary
>> notifications. However right now I think most of them are not
>> supported.
>
> Maybe etoile_system can implement some of the
> application-related functions of NSWorkspace
That's on the way. I will ask you later how to add support for other
X11 applications.
Well, in short, you have to listen to X event.
That is what AZDock does.
[snip]
> By the way, how can I receive such notifications across processes
> since most of them are not posted to distributed notification
> center ?
They should. They get posted to -[NSWorkspace notificationCenter]
which reposts them to the distributed notification center. At least,
that's the result of my investigation for a notification like 'hide'.
More here:
<http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/
NSApplication.m>
<http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSWorkspace.m>
Thanx. I will take a look.
Yen-Ju
Cheers,
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev