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 = 'bleh'" and "txt = label.get_text()" in stead of "txt = 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
begin:vcard
fn:Walter Leibbrandt
n:Leibbrandt;Walter
org:Translate.org.za
adr:;;;Pretoria;Gauteng;;South Africa
email;internet:[EMAIL PROTECTED]
title:Developer
tel;work:(012) 460 1095
x-mozilla-html:FALSE
url:http://translate.org.za
version:2.1
end:vcard

_______________________________________________
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