updating gtk_progress_bar



In something like this :  (I use Free Pascal, but this is only an example)

while not eof (file_input) do

  begin

     seek (file_input, record_number);

     Read (file_input, record);

     gtk_progress_set_value (gtkprogress (progressbar_), record_number);

  end;

I don't see how the progress bar grows. Only I see, first an empty value and

then the full value. What I must do to update the value of the progress bar

and see how it grows with every record ??

(Sorry for my poor english)

--
Salutacions.

Jordi.

http://perso.wanadoo.es/jovy
mailto:jovy wanadoo es








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]