W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: libwww and gtk

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 18 Mar 1999 20:04:50 -0500
Message-Id: <3.0.5.32.19990318200450.00908520@localhost>
To: Andrew Wong <wong@powertv.com>, www-lib@w3.org
At 18:59 17/03/1999 -0800, Andrew Wong wrote:

>I'm hoping you could help me out with this seemingly simple question.
>Given both libwww and gtk use event loop, how can I use them together
>in a program? 
>
>Can you point me to some code or documentation?

I don't know gtk's eventloop but I assume that you can either

a) use gtk's eventloop and provide the functions needed by libwww:

	http://www.w3.org/Library/src/HTEvent.html

b) redirect gtk events to a socket in which case you just register that
socket for read in libwww. This is what Amaya does for example

	http://www.w3.org/Amaya/

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Friday, 19 March 1999 12:10:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT