Scrollbars upside down



Dear Folks!

Using

adjustment = gtk_adjustment_new (0.0, 0.0, 100.0, 0.1, 3.0, 1.0);
scale = gtk_vscale_new (GTK_ADJUSTMENT (adjustment));

I get a vertical scale with zero being the value when the slider is at the
top and 100 being the value at the bottom. How do I swap these, so that I
can, say, turn the volume _down_ to zero? Simply typing

adjustment = gtk_adjustment_new (0.0, 100.0, 0.0, 0.1, 3.0, 1.0);

doesn't work. I bet it's obvious when pointed out. :)

Thank you for your help,

Mark Roberts





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