[pygtk] python and GTK+-3 - possible?
rbpark at exolucere.ca
Wed Mar 16 00:56:51 WST 2011
On Mon, Mar 14, 2011 at 5:17 PM, John Lumby <johnlumby at hotmail.com> wrote:
> Are you using your own modified configure script / Makefile?
No, I use jhbuild.
>From what I understand, pygobject can only provide GTK3 and pygtk can
only provide GTK2. So if your code includes 'import pygtk' then that
is by definition gtk2 you are using, and if instead you have 'from
gi.repository import Gtk' then that can only be Gtk3.
Check the source to my app, it's gtk3 and uses some of the new gtk3
widgets (such as ComboBoxText for example):
More information about the pygtk