GtkScale/GtkRange: Wrap-around instead of truncate/clamp value outside limits?

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

 



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


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux