GtkScale/GtkRange: Wrap-around instead of truncate/clamp value outside limits?
- From: Toralf Lund <toralf procaptura com>
- To: gtk-list gnome org
- Subject: GtkScale/GtkRange: Wrap-around instead of truncate/clamp value outside limits?
- Date: Tue, 23 Oct 2007 13:18:37 +0200
Is there any way I can get a scale and/or range to "wrap-around" rather
than switching to min or max when a value outside the defined range is
passed to "set"?
I mean, if my widget allows input of values in the range [0, 100], and I
pass the value 110, it will usually switch to the value 100. Or possibly
100 - <page size>, but you know what I mean... Can I get it to change
the value to 10 instead, i.e. to essentially start counting from the
beginning when the end is reached?
--
Toralf Lund
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]