[pygtk] General PyGtk design question
Walter Leibbrandt
walter at translate.org.za
Wed Jun 25 15:33:42 WST 2008
Good day,
I would just like to ask a question about the design of PyGtk: What were =
the reasons for the C-like deisgn of PyGtk? For example having to use =
"label.set_text('bleh')" in stead of "label.text =3D 'bleh'" and "txt =3D =
label.get_text()" in stead of "txt =3D label.text".
Not that I'm criticizing, I was just wondering since I've used Gtk# =
before PyGtk and its C# adaptation works quite well. I know Python =
language features are used to a certain extent (ie. iterating over a =
gtk.ListStore), but the question remains. It seems that Python =
properties are the only example I can think of now, and if PyGtk has =
been around since before Python 2.2, that could answer my question. Can =
anyone confirm this or are there other reasons?
Thanks in advance,
Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: walter.vcf
Type: text/x-vcard
Size: 263 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20080625/1caf915b/w=
alter.vcf
More information about the pygtk
mailing list