[pygtk] New constructor style in PyGTK 2.8

Jacob Kroon jacob.kroon at gmail.com
Thu Mar 23 22:30:43 WST 2006


Hi,

I'm converting my defs file to use the new constructor style in pygtk 
2.8, I have read

http://live.gnome.org/PyGTK/WhatsNew28#update-constructors

and have run into some questons:

1. Is ok to leave out the "new-constructor foo_bar_type" fields in the 
override file ? It seems to work fine anyway.

2. In the defs file I've simply put:
...
 (properties
  ("arg1" "arg1")
  ("arg2" "arg2")
 )

   and this also seems to work. Are there any special reasons for using 
(argname="xxx") like the website explains ?

--Jacob



More information about the pygtk mailing list