scales
- From: Helge Hess <hh mdlink de>
- To: gtk-list <gtk-list redhat com>, Helge Hess <hh mdlink de>
- Subject: scales
- Date: Wed, 11 Mar 1998 14:05:37 +0100
Hello,
I'm trying to set a new adjustment of a horizontal scale. This doesn't
seem to work.
Something like this is used:
void setScaleMax(GtkScale *scale, double newMax) {
GtkAdjustment *adj;
adj = gtk_adjustment_new(value, minValue, newMax + 1.0, 0.01, 0.1,
newMax);
gtk_range_set_adjustment((GtkRange *)scale, adj);
}
I suppose the scale doesn't recognize the change, so maybe a
gtk_scale_set_adjustment is need ?!
Thanks
Helge
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]