>> Also, can I get it to only display values as integers ("1" instead of
    >> "1.0")?

    Paul> this may do the trick:

    Paul> gtk_hscale_set_digits (GTK_SCALE(hsc), 0); 

Thanks, this did the trick.  In fact, it solves both problems.  It limits
the display of the number of digits after the decimal point and rounds the
value returned.  No need to fiddle with the value-changed signal at all.

-- 
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.com/

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to