trouble with progress bars
- From: Vaibhav Vaish <csu96173 cse iitd ernet in>
- To: gtk-devel-list redhat com, gtk-app-devel-list redhat com
- Subject: trouble with progress bars
- Date: Mon, 15 Feb 1999 02:59:59 +0530 (IST)
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)
gint move_hbar(gpointer data)
{
gfloat hval;
hval = GTK_PROGRESS_BAR (data)->percentage
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...........
}
On compiling, I get an error in the indicated line:
structure has no member `percentage'
Please let me know how to correct this. I'm using gtk+ 1.1.2.
Vaibhav Vaish.
---------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]