Hi ,<br><br>I need to make my gtk.HScale take up discrete values - 30,50,70. For the associated gtk.Adjustment, what should my parameters ( step_incr, page_incr, page_size) be ?<br>I tried a few different combinations but none seemed to have worked.
<br><br>Code snippet :<br>self.adjustmentf = gtk.Adjustment(70, 30, 70 ,20, 20, 0.0)<br>self.adjustmentf.connect("value_changed", self.cb_page_sizef, self.adjustmentf)<br>self._freq_range = gtk.HScale(self.adjustmentf
)<br>self._freq_range.set_draw_value(False)<br>self._freq_range.set_update_policy(gtk.UPDATE_CONTINUOUS)<br>self._freq_range.set_size_request(120,15)<br><br><br>Somebody suggested for me to use gtk_set_scale_digits or something, but i couldn't find any documentation on that.
<br><br><br>thanks,<br>Arjun<br><br>-- <br>Arjun Sarwal ( <a href="mailto:arjun@laptop.org">arjun@laptop.org</a> )