GNOME Bugzilla – Bug 325452
Second argument of gtk.SpinButton.spin() should have a default value
Last modified: 2006-04-02 15:48:25 UTC
It would be nice if the signature of gtk.SpinButton.spin() could be changed to: spin(direction, increment = 1) For most values of direction the increment parameter is ignored anyways. I don't see why I should specify an irrelevant parameter. A spin value of "1" seems to be a reasonable default.
Fixed in CVS: Checking in ChangeLog; /cvs/gnome/gnome-python/pygtk/ChangeLog,v <-- ChangeLog new revision: 1.1381; previous revision: 1.1380 done Checking in gtk/gtk.defs; /cvs/gnome/gnome-python/pygtk/gtk/gtk.defs,v <-- gtk.defs new revision: 1.233; previous revision: 1.232 done