Le samedi 19 mars 2005 Ã 02:41 -0800, Ben Johnson a Ãcrit : > On Sat, Mar 19, 2005 at 10:56:42AM +0100, Jean Br?fort wrote: > ... > > call gtk_main_loop from your blocking operation. > > > > if I call gtk_main_loop() from within my blocking function, won't > gtk_main_loop() block and stop my function from doing anything useful? > I'll have to make gtk_main_loop() return somehow, won't I? I don't know > why this is better than calling gtk_dialog_run(). gtk_main_loop returns. I occasionnaly use: while (gtk_events_pending ()) gtk_main_loop (); _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list