Gtk_Adjustment question




Does anyone know a good way to make a Gtk_Scale snap to some range of
vaules?  I've got some Gtk_HScale's that I would like to represent only
integer values, but I can't seem to find an easy way to do it.  Setting
the step_increment of the Gtk_Adjustment associated with the scale seems
to only affect the value on key presses.  Mouse drags seem to be hardcoded
to a resolution of 0.1.  Any ideas?

Thanks,

Brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]