RE: [gtk-list] Progress bar widget
- From: "Arjan J. Molenaar" <arjan xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] Progress bar widget
- Date: Mon, 6 Sep 1999 16:05:45 +0200
> -----Original Message-----
> From: rhfreeman [mailto:rhfreeman@micron.com]
> Sent: Monday, September 06, 1999 4:03 PM
> To: 'gtk-list@redhat.com'
> Subject: [gtk-list] Progress bar widget
>
>
> Hi all,
>
> HELP! This is driving me mad....
>
> I am trying to use a progress bar - but I can't get it to
> appear when it
> should! The source has been heavily "based" :) upon the example from
> testgtk.c.
>
> I call create_progress_bar() and then start loading in a file
> - but only
> when the file has finished loading and the main widget is
> updated does the
> progress bar appear. I have tried using...
>
> gtk_widget_show_all();
> gtk_widget_show();
> gtk_widget_draw();
>
> ...but none of them make it appear when the function is
> actually called.
>
> Any ideas?
>
You should run the main loop every now and then:
while (gtk_event_pending ())
gtk_main_iteration ();
_A_
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]