[pygtk] read/write attributes
Jan Weil
jawebada at mailbox.tu-berlin.de
Sat Mar 27 04:31:03 WST 2004
I remember a thread about this topic, start here:
http://www.daa.com.au/pipermail/pygtk/2003-August/005628.html
This is a workaround in Python I posted then:
http://www.daa.com.au/pipermail/pygtk/2003-August/005640.html
I haven't used it in real world, though.
TBH this is one of the reasons I'm using the Ruby-GNOME2 bindings
nowadays.
I'm not sure if I should say this on pygtk's ML :)
Jan
On Mon, 2004-03-22 at 19:15, Ionutz Borcoman wrote:
> Hi,
>
> In the reference of PyGTK
> http://www.moeraki.com/pygtkreference/pygtk2reference/index.html
> it is stated that certain attributes are read/write attributes.
>
> However, trying to do something like:
>
> box.border = 5
>
> doesn't work. But:
>
> box.set_border_width(5)
>
> works.
>
> Why can't I simply use the first construct ?
>
> TIA,
>
> Ionutz
>
> _______________________________________________
> 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/
>
More information about the pygtk
mailing list