Re: updating appearance of a dialog without gtk_dialog_run?



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]