PyGTK (a.k.a python-gtk or gtk-python) is a set of bindings to the GTK+ user interface toolkit for the Python language.
There, new releases, news, reference docs, tutorials, applications built on top of it and other information can be found.
Python is an interpreted language with a very clean syntax, high-level data structures, dynamic typing, object oriented characteristics and generally acceptable performance.
GTK+ is a graphical user interface toolkit, which includes user interface components (hereafter called by the usual name widgets) and a framework for handling events that are produced upon these components.
A binding is code (usually a library) that allows you to access functions that were coded in another language. In our case, GTK+ was written in C, and applications written in C can use native GTK+. For a Python program to be able to create applications using the GTK+ framework, a special library has to be used. This library is PyGTK.
PyGTK will be phased out with the transition to GTK+ version 3. Instead, GObject introspection will be used to generate bindings for Python and other languages on the fly. This is expected to eliminate the delay between GTK updates and corresponding language binding updates, as well as reduce maintenance burden on the developers.
PyGTK is kept in gnome git; the module name for PyGTK is "pygtk". The module name for gnome-python is "gnome-python", so to check it out, type:
git clone git://git.gnome.org/pygtk
and possibly:
Please note that to use PyGTK you rely on recent code for GTK+ , GLib, atk, pango, Python. How recent exactly these dependencies need to be depends largely on the current target for the PyGTK development team. In general, CVS HEAD will use the latest CVS, but ask on the mailing list if problems arise.
If you want to make use of the Gnome libraries in your application, you will also need to install some other packages, such as the PyORBit, gnome-python, gnome-python-desktop or gnome-python-extras packages. They are available from the Gnome FTP site and its mirrors:
The latest release of PyGTK for GTK+ 2.24 is available from the following website:
Notable applications that use PyGTK.
PyGTK has been used in a number of notable applications, some examples:
Anaconda installer
BitTorrent
Deluge
Emesene
Exaile
Flumotion
Gajim
gDesklets
Gedit (for optional Python subsystem and plugins)
GIMP (for optional Python scripts)
GNOME Sudoku
Screenshots.
Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
There, new releases, news, reference docs, tutorials, applications built on top of it and other information can be found.
Python is an interpreted language with a very clean syntax, high-level data structures, dynamic typing, object oriented characteristics and generally acceptable performance.
GTK+ is a graphical user interface toolkit, which includes user interface components (hereafter called by the usual name widgets) and a framework for handling events that are produced upon these components.
A binding is code (usually a library) that allows you to access functions that were coded in another language. In our case, GTK+ was written in C, and applications written in C can use native GTK+. For a Python program to be able to create applications using the GTK+ framework, a special library has to be used. This library is PyGTK.
PyGTK will be phased out with the transition to GTK+ version 3. Instead, GObject introspection will be used to generate bindings for Python and other languages on the fly. This is expected to eliminate the delay between GTK updates and corresponding language binding updates, as well as reduce maintenance burden on the developers.
PyGTK is kept in gnome git; the module name for PyGTK is "pygtk". The module name for gnome-python is "gnome-python", so to check it out, type:
git clone git://git.gnome.org/pygtk
and possibly:
git clone git://git.gnome.org/gnome-python
git clone git://git.gnome.org/gnome-python-desktop
git clone git://git.gnome.org/gnome-python-extras
git clone git://git.gnome.org/gnome-python-desktop
git clone git://git.gnome.org/gnome-python-extras
Please note that to use PyGTK you rely on recent code for GTK+ , GLib, atk, pango, Python. How recent exactly these dependencies need to be depends largely on the current target for the PyGTK development team. In general, CVS HEAD will use the latest CVS, but ask on the mailing list if problems arise.
If you want to make use of the Gnome libraries in your application, you will also need to install some other packages, such as the PyORBit, gnome-python, gnome-python-desktop or gnome-python-extras packages. They are available from the Gnome FTP site and its mirrors:
- http://ftp.gnome.org/pub/GNOME/sources/pyorbit/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/
- http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/
The latest release of PyGTK for GTK+ 2.24 is available from the following website:
Notable applications that use PyGTK.
PyGTK has been used in a number of notable applications, some examples:
Anaconda installer
BitTorrent
Deluge
Emesene
Exaile
Flumotion
Gajim
gDesklets
Gedit (for optional Python subsystem and plugins)
GIMP (for optional Python scripts)
GNOME Sudoku
Screenshots.
Custom Search
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
0 comments:
Post a Comment