Sender: lebotlan at beaune.inria.fr Message-ID: <3DC16C31.DA93B21 at beaune.inria.fr> Date: Thu, 31 Oct 2002 18:45:21 +0100 From: Didier Le Botlan Organization: INRIA (Projet CRISTAL) MIME-Version: 1.0 To: lablgtk at kaba.or.jp Subject: Re: Lablgtk and X References: <3DC01234.36227E29 at beaune.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks to Jacques, I am now able to talk to ghostscript, and it works ! Ghostscript reads the X-property and draws into the indicated pixmap. I still have some problems though: - First, ghostscript is supposed to send me a ClientMessage whose DATA is a string. When I match the data I receive, I only get `NONE, instead of `BYTES. I tried to write a test which sends ClientMessages with some given DATA, but then, I fall into the second problem. There is still the possibility that new versions of ghostscript have changed the expected behaviour. I have tried to monitor events with xev -id 'nb' but it does not see any ClientMessageEvent at all. - Second, I need to send ClientMessages to ghostscript. I have tried for quite a long time now, but I cannot see how to build a Gdk.event of a given type, nor how to fill the 'data' and 'type' fields of the ClientMessage. Thanks for any help. -- Didier Le Botlan http://cristal.inria.fr/~lebotlan