Article View: fr.comp.lang.c
Article #38[AIDE] pid de la fenetre active
From: Philippe Gaucher
Date: Thu, 13 Apr 2000 00:00
Date: Thu, 13 Apr 2000 00:00
17 lines
1397 bytes
1397 bytes
Bonjour, J'ai besoin d'aide car je ne sais pas programmer avec X-Window. J'ai bien un livre sur le sujet mais je n'ai pas trouv� comment faire pour autant. Voil�, je voudrais svp un petit programme C qui sort en sortie standard le pid du processus qui "poss�de" la fen�tre qui est en avant-plan au moment o� le programme est lanc�. Et c'est tout ! C'est pour utiliser dans un shell script. Quelqu'un aurait-il l'amabilit� de me faire ce petit programme C svp ? Merci d'avance. C'est pour utiliser sous UNIX of course. pg.
Technical Details
Message-ID:
<GAUCHER.00Apr13170814@irmast1.u-strasbg.fr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 1082d0,dfddbb7848642bd2,start X-Google-Attributes: gid1082d0,public X-Google-Thread: 110f2c,dfddbb7848642bd2,start X-Google-Attributes: gid110f2c,public X-Google-Thread: f9822,dfddbb7848642bd2,start X-Google-Attributes: gidf9822,public From: gaucher@belzebuth.enfer (Philippe Gaucher) Subject: [AIDE] pid de la fenetre active Date: 2000/04/13 Message-ID: <GAUCHER.00Apr13170814@irmast1.u-strasbg.fr> X-Deja-AN: 610695952 Distribution: world Followup-To: fr.comp.lang.c X-Complaints-To: usenet@u-strasbg.fr X-Trace: news.u-strasbg.fr 955642287 6360 130.79.4.99 (13 Apr 2000 16:11:27 GMT) Organization: Tarte Flamb�e et Cie Reply-To: gaucher@easynet.fr NNTP-Posting-Date: 13 Apr 2000 16:11:27 GMT Newsgroups: fr.comp.lang.c,fr.comp.applications.x11,fr.comp.os.unix