PyGTK: GTK+ for Python

What is PyGTK?

PyGTK Code

PyGTK lets you to easily create programs with a graphical user interface using the Python programming language. The underlying GTK+ library provides all kind of visual elements and utilities for it and, if needed, you can develop full featured applications for the GNOME Desktop.

PyGTK applications are truly multiplatform and they're able to run, unmodified, on Linux, Windows, MacOS X and other platforms.

Other distinctive features of PyGTK are, besides its ease of use and rapid prototyping, its first class accessibility support or the capability to deal with complex multilingual or bidirectional text for fully localized applications.

PyGTK is free software, so you can use, modify, distribute and study it with very few restrictions (LGPL license).

Note: New users are encouraged to use GTK+3 through the PyGObject bindings instead of using PyGTK with GTK+2. Windows users may still want to keep using PyGTK until more convenient installers are published.

Latest news

RSS Old stories

PyGTK 2.24.0 released

Friday 01 April 2011 by Rafael Villar Burke
PyGTK 2.24.0 has been released. This is a stable release supporting the GTK+ 2.24 API.
New users wishing to develop Python applications using GTK+ are recommended to use the GObject-Introspection features available in PyGObject.
Existing authors of PyGTK applications are also recommended to port their applications to PyGObject to take advantage of new features appearing in GTK-3 and beyond. More information on PyGObject and GObject-Introspection can be found at http://live.gnome.org/PyGObject.
PyGTK-2.24 will be the final major release of PyGTK. Additional bug-fix releases may appear when necessary to maintain compatibility and stability with the GTK-2.24 series.
As usual, sources can be fetched from here. Check out the release announcement and full list of changes.

PyGTK All-in-one installer for windows released!

Friday 24 December 2010 by Rafael Villar Burke
The PyGTK team is pleased to announce the return of the highly popular all-in-one installer for Windows.
It provides an alternative installation method for PyGTK users on Windows and bundles PyGTK, PyGObject, PyCairo, PyGtkSourceView2, PyGooCanvas, PyRsvg, the gtk+-bundle and Glade in one handy installer.
Currently 32 bit Python 2.6 and 2.7 versions are supported on Windows XP and above.
See the release announcement and README file for further details. The installer itself can be found here.
Special thanks go to Dieter Verfaillie, for his impressive work to get this done.

PyGObject 2.26.0 released

Monday 27 September 2010 by Rafael Villar Burke
PyGobject 2.26.0 has been released. This is the first stable release in the 2.26.x series and introduces initial support for introspection and Python 3. As usual, sources can be fetched from here. Check out the release announcement and full list of changes.

PyGTK 2.22.0 released

Saturday 25 September 2010 by Rafael Villar Burke
PyGTK 2.22.0 has been released. This is the first stable release supporting the GTK+ 2.22 API.
New users wishing to develop Python applications using GTK+ are recommended to use the GObject-Introspection features available in PyGObject.
Existing authors of PyGTK applications are also recommended to port their applications to PyGObject to take advantage of new features appearing in GTK-3 and beyond. More information on PyGObject and GObject-Introspection can be found at http://live.gnome.org/PyGObject.
As usual, sources can be fetched from here. Check out the release announcement and full list of changes.

Help improving PyGTK documentation contributing to the Acire Snippets project

Friday 26 March 2010 by Rafael Villar Burke
Acire Snippets is a library and browser of snippets and examples of Python code that demonstrates how to perform specific tasks. It has a new Acire Snippets website with information on how to use it and send contributions and PyGTK users are encouraged to enrich the existing PyGTK snippets collection.