GNOME Bugzilla – Bug 507566
GtkSpinButton should allow zero padding values
Last modified: 2008-01-06 06:39:56 UTC
Og Marciel asked me on IRC if it was possible to zero-pad values in GtkSpinButton, His use case, somewhat modelled after OSX is to have a date widget with three spinbuttons: [2008] [01] [05] To my surprise I found out that it was not possible. I'll attach a patch that adds support for that. The implementation is pretty straight forward.
Created attachment 102245 [details] [review] patch
Created attachment 102258 [details] Python example demonstrating using ::output It's pretty trivial to do with the ::output signal
2008-01-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkspinbutton.c: Document the ::output signal and add an example. (#507566, example by Owen Taylor)