FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 2.2 | Next Entry >>

2.2. What are the major changes in PyGTK-2 for GTK+ 2.2?

The new PyGTK-2 is not fully compatible with the old one. There are a few things you will need to do to convert your app:

 - GtkText (replaced by GtkTextBuffer/GtkTextView)
 - GtkTree and GtkTreeItem (replaced by GtkTreeView and GtkTreeModel)

Overall, PyGTK-2 should be a much nicer PyGTK to program with. If you are working on new code, it would be best to use PyGTK-2 instead of 0.6.x.

What's more, there is even some documentation for PyGTK-2, available at [www.gnome.org]

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org