spinner widget

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

 



I've been working on a spinner widget that is basically just the spinner 
portion of a spinbutton.

Although the spinbutton handles numbers fairly cleanly, it doesn't seem 
to work well when trying to use it for other purposes. Although you can 
use the signals to have it display text (like the days of the week 
example), it does not handle user typing in a value well. Also, since 
there is no way to change how it looks, it always appears as an entry 
that the user can type in.

My solution to this is a stand-alone spinner widget. The spinner will 
just appear as a pair of arrows and hold a double value and the 
developer could use that value to control a plain label, image, or 
anything else.

The spinner as I have written it derives from GtkRange and has "wrap" 
and "snap_to_ticks" properties (the same as the spinbutton).

Thoughts?
_______________________________________________
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