GNOME Bugzilla – Bug 623033
gtk.Adjustment.configure is missing
Last modified: 2011-03-26 10:12:46 UTC
GTK 2.14 introduce some new functions. One is named gtk-adjustment-configure : http://library.gnome.org/devel/gtk/stable/GtkAdjustment.html#gtk-adjustment-configure This function is partially documentated but totally absent in pygtk 2.14: http://library.gnome.org/devel/pygtk/stable/class-gtkadjustment.html However, in package pygtk 2.16, the documentation not change but the fonction exists and works. In the source code of pygtk, the python binding contains the following code in the file gtk/gtk-2.14.defs : (define-method configure (of-object "GtkAdjustment") (c-name "gtk_adjustment_configure") (return-type "none") (parameters '("gdouble" "value") '("gdouble" "lower") '("gdouble" "upper") '("gdouble" "step_increment") '("gdouble" "page_increment") '("gdouble" "page_size") ) ) This file exist on pygtk 2.14 but there is no reference to this method definition. Using this function lead to this error : AttributeError: 'gtk.Adjustment' object has no attribute 'configure'
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.