[pygtk] Alignment & scale

Gustavo J. A. M. Carneiro gjc at inescporto.pt
Thu Oct 21 03:47:16 WST 2004


Ter, 2004-10-19 às 09:11 -0700, John Finlay escreveu:
> 
> Gustavo Niemeyer wrote:
> 
> >Hello folks,
> >
> >I've noticed that the default values for xscale and yscale in
> >gtk.Alignment have recently been changed from 0.0 to 1.0:
> >
> >  >>> import gtk
> >  >>> align = gtk.Alignment()
> >  >>> align.get_property("xscale")
> >  1.0
> >  >>> align.get_property("yscale")
> >  1.0
> >
> >Documentation is still pointing out that both parameters
> >default to 0.0.
> >  
> >
> You are correct,  I'll update the docs.

  This change was not intended (a side effect of new style
constructors).  I think we should change the defaults back to the old
values.  I'll do it if no one disagrees.

> 
> Thanks
> 
> John
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic



More information about the pygtk mailing list