Steve Langer wrote:
Hi --
I'm trying to use a gtk.HScale widget to select integer values, so I
use HScale.set_digits(0). However, I also don't want the widget to
display its value, because the value is also displayed in an
accompanying gtk.Entry. But if I use HScale.set_draw_value(False),
the set_digits(0) doesn't work anymore!HScale.get_value() returns
non-integers. Am I doing something wrong, or is this a bug?
Neither - it's a feature. Just round and int the return value in your
signal handler.
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/