Re: updating gtk_progress_bar
- From: David Goncalves <lestat lioncourt innocent com>
- To: jordi <jovy wanadoo es>
- Cc: GTK <gtk-list gnome org>
- Subject: Re: updating gtk_progress_bar
- Date: Sun, 22 Jul 2001 23:48:01 +0200
Hello,
you have to do something like :
while not eof (file_input) do
begin
seek (file_input, record_number);
Read (file_input, record);
gtk_progress_set_value (gtkprogress (progressbar_), record_number);
while( g_main_iteration( FALSE ) );
end;
To enable GTK updating the GUI.
BTW: I don't know if this synthax is correct in Pascal but it's the
idea ;)
Regards
--
David 'Lestat' Goncalves - ( YM : lestat_lioncourt_innocent )
<lestat lioncourt innocent com> - http://www.lestat.dyndns.org
... The software said it requires IIS 4.0 or better.
So, I installed Apache.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]