Hi.

The ability to make spin buttons was lost in the
latest release. This patch fixes that - the 
second parameter is "gdouble", not "gbutton",
in accordance with the GTK headers.

It's nice to see that the "get_children" function
was added, and "children" was marked as deprecated.

My thanks to everyone working on PyGTK.

Art Haas

Index: gtk/gtk.defs
===================================================================
RCS file: /cvs/gnome/gnome-python/pygtk/gtk/gtk.defs,v
retrieving revision 1.99
diff -u -r1.99 gtk.defs
--- gtk/gtk.defs        2002/04/18 16:33:59     1.99
+++ gtk/gtk.defs        2002/04/25 18:13:21
@@ -9749,7 +9749,7 @@
   (return-type "GtkWidget*")
   (parameters
     '("GtkAdjustment*" "adjustment" (null-ok) (default "NULL"))
-    '("gbutton" "climb_rate" (default "0.0"))
+    '("gdouble" "climb_rate" (default "0.0"))
     '("guint" "digits" (default "0"))
   )
 )
-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to