RE: trouble with progress bars



Hi Vaibhav !

> I'm having trouble in accessing the percentage field of progress bars. I'm
> defining the following function for updating a progress bar (using
> timeout)

The percentage field has been eliminated some time ago, as it is
calculated on the fly. Use the following to get/set the percentage :

gtk_progress_get_current_percentage (GTK_PROGRESS (data));
 
gtk_progress_set_percentage (GTK_PROGRESS (data), percentage);

bye,
   Stefan



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