Gtk_Adjustment question
- From: briam cats ucsc edu
- To: gtk-list redhat com
- Subject: Gtk_Adjustment question
- Date: Sat, 7 Mar 1998 00:51:18 -0800 (PST)
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]