On Sun, 2009-03-08 at 11:12 +0100, jody wrote: > Hi > In my application i have a Gtk::HScale whose parameters > should be different depending on the state of a group of > radios buttons. > From the documentation i get the implression that > the minimum, maximum and step can only be set in the constructor. > > Can anybody give me a hint how to change these settings > at runtime? > Or do i have to create a new HSCale object everytime > the state of the radiobuttons changes?
I guess you can use Gtk::Range::get_adjustment() (in the base class): http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Range.html#7eca2fd3708b9afcd7eb37ad43228882 This might be helpful too: http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-range-widgets.html -- Murray Cumming [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
