Re: updating appearance of a dialog without gtk_dialog_run?
- From: Jean Bréfort <jean brefort normalesup org>
- To: Ben Johnson <ben blarg net>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: updating appearance of a dialog without gtk_dialog_run?
- Date: Sat, 19 Mar 2005 11:42:23 +0100
Le samedi 19 mars 2005 �2:41 -0800, Ben Johnson a �it :
> 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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]