[Gtk-sharp-list] SpinButton
James Talton
talton at gmail.com
Mon Nov 12 21:53:26 EST 2007
I am wanting a SpinButton that allows high precision numbers to be entered
by keyboard but only shows the number of decimal digits needed for the
precision. If it is a whole number, I don't want to show any decimal
digits.
The SpinButton has a Digits property but if it is set to 0, you can't enter
any decimal digits from the keyboard. I also found that the SpinButton
sometimes rounds the SpinButton.Value when displaying it.
I wrote a inherited SpinButton that seems to solve 99% of the issues, but I
am not wild about the solution. Is there something I am missing? Anyone
else have any suggestions?
Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20071112/a606e165/attachment.html
More information about the Gtk-sharp-list
mailing list