Re: [gtk-list] RE: GtkProgressBar && RE: updating a progress bar in a loop
- From: Sergei Naumov <serge astro unc edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] RE: GtkProgressBar && RE: updating a progress bar in a loop
- Date: Fri, 06 Mar 1998 11:16:11 -0500
> On 05-Mar-98 Sergei Naumov wrote:
> > I am trying to use progress bar when doing a MySQL query. The
> > question I
> > have is how do I update the state of the progress bar if everything
> > is
> > happening INSIDE mysql_query()?
> Drawing updates usually only happen when you are in gtk_main. You can
> force them, however using something like:
>
> while (gtk_events_pending())
> gtk_main_iteration();
>
> inside you're respective functions that change the progress bar.
Well, as far as I understand, it does not help me with mysql queries. Or
I might be dumb if I do not understand what is written there. :-(
Sergei
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]