Re: Integrating guile-gtk with other event loops



Greg Troxel <gdt@ir.bbn.com> writes:

|   I am trying to figure out a way to integrate guile-gtk's event loop
|   with another event loop, specifically that of scwm.
| 
| In general I believe it is broken for a library to demand that it own
| the select loop.   A solution to this might be to create for each
| library that can do so a function
| 
|   gtk_get_select_fds(...)
| 
|   gtk_select_result(...)

A thread safe Gtk+ would make this superfluous. Similar problem come
up with multimedia or networking programs. With the above approach you
have to "route" all events through one bottleneck.

-- 
/* In the beginning was the Word: */
typedef long SCM;



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