Re: [pygtk] python and GTK+-3 - possible?

2011-03-16 Thread John Lumby
J Stowers wrote: From what I understand, pygobject can only provide GTK3 and pygtk can only provide GTK2. pygtk.py (what gets executed above) lives in pygobject. This, for historical reasons lived there to help easy the pain of the pygtk-1 - pygtk-2 transition. This is why you see

Re: [pygtk] python and GTK+-3 - possible?

2011-03-16 Thread Dieter Verfaillie
Seem to have managed to replied only to the python-hackers list this morning, sorry... Let's try again: Quoting John Stowers john.stowers.li...@gmail.com: On Tue, 2011-03-15 at 22:31 -0400, John Lumby wrote: R Park wrote: pygtk.py (what gets executed above) lives in pygobject. This, for

Re: [pygtk] python and GTK+-3 - possible?

2011-03-16 Thread John Palmieri
- Original Message - J Stowers wrote: From what I understand, pygobject can only provide GTK3 and pygtk can only provide GTK2. pygtk.py (what gets executed above) lives in pygobject. This, for historical reasons lived there to help easy the pain of the pygtk-1 -

Re: [pygtk] python and GTK+-3 - possible?

2011-03-15 Thread Robert Park
On Mon, Mar 14, 2011 at 5:17 PM, John Lumby johnlu...@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

Re: [pygtk] python and GTK+-3 - possible?

2011-03-15 Thread John Lumby
R Park wrote: 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. Many thanks.

Re: [pygtk] python and GTK+-3 - possible?

2011-03-15 Thread John Stowers
On Tue, 2011-03-15 at 22:31 -0400, John Lumby wrote: R Park wrote: 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

Re: [pygtk] python and GTK+-3 - possible?

2011-03-14 Thread John Lumby
R Park wrote: On Sun, Mar 13, 2011 at 4:39 PM, John Lumby wrote: Is it posible today, using some combination of python and pygtk-family packages Not with PyGTK. It is the intention of the maintainers that PyGTK dies a slow, gentle death alongside GTK2. The future of GTK3 is available

Re: [pygtk] python and GTK+-3 - possible?

2011-03-14 Thread John Lumby
J Lumby wrote My attempts to run my test app against GTK3 all fail with import errors, no doubt because I have built and installed things myself, and I find it difficult to know what is going on. Further to that  -  I have discovered this line in the current pygobject/Makefile.am 

[pygtk] python and GTK+-3 - possible?

2011-03-13 Thread John Lumby
Is it posible today, using some combination of python and pygtk-family packages and the current GTK+-3.0.2, (pulled from git if need be), to code a python application that exploits new features in GTK+-3? E.g. one of the new widgets? If so, could someone say how. If not, will it be?

Re: [pygtk] python and GTK+-3 - possible?

2011-03-13 Thread Robert Park
On Sun, Mar 13, 2011 at 4:39 PM, John Lumby johnlu...@hotmail.com wrote: Is it posible today,  using some combination of python and pygtk-family packages and the current GTK+-3.0.2,   (pulled from git if need be), to code a python application that exploits new features in GTK+-3? E.g. one of