Re: gtk_main_loop callback?



On Tue, Feb 04, 2003 at 08:33:58AM -0000, martyn 2 russell bt com wrote: 
> If anyone has had this problem before, or has further ideas, let me know...
> Any thoughts?

You just need to get lower-level, assuming you're using GLib 2.0. Have
a look at the GLib docs for the main loop:

  http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html

You can run the prepare/query/check/dispatch components of an
iteration independently, which should let you either do the GMain
query and add those file descriptors to your main loop, or vice versa.

Havoc



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