On Sat, 18 Sep 2004 21:11:47 -0500, Brian Clark <bc shout net> wrote:
I have an adjustment for a spin button, and I want to change the upper
value of the spinner (and therefore adjustment) after the window has
already been created.
Is there a way to change it directly?
Sure, just assign a new upper limit to adj->upper, then call
gtk_adjustment_changed( adj ). The adjustment will then signal
"changed" and all widgets using that adjustment will update
themselves. You can mess with sliders and scrollbars in the same way.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list