Giuseppe,
Simply require needed version of typelib, and then import it:
import gi
gi.require_version('Gtk', '2.0')
from gi.repository import Gtk
But, you cannot mix 2.0 and 3.0 modules.
Regards,
Marko Tasic
On Thu, Jun 16, 2011 at 8:17 PM, Giuseppe Peno
Peter,
Your code runs perfectly fine on my machine. I have installed: ArchLinux
x86_64, CPython 2.7.1, pygtk 2.24.0 and gtk 2.24.4.
Can you tell us more about your environment?
Regards,
Marko Tasic
On Sun, May 22, 2011 at 9:43 PM, Peter Irbizon wrote:
> hello guys,
>
> please, I nee
else missing.
Regards,
Marko Tasic
On Sat, May 21, 2011 at 8:25 PM, Shrihari Sankaran wrote:
> Hi,
>>> It is hard to see whats going on, but I can suggest to
>>> use some debugger like ollydbg (http://www.ollydbg.de/[1]),
>>> or Process Monitor
>>> (http://t
Regards,
Marko Tasic
On Fri, May 20, 2011 at 9:22 PM, Shrihari Sankaran wrote:
> Hello,
>
> I recently built a pygtk application. The app runs completely when i invoke
> using "python app.py". So, I proceeded to build Windows binary with py2exe.
> The contents of my setup
I also remember that I had problems without restarting Windows after setting
new PATH environment variable.
Regards,
Marko Tasic
On Sun, Mar 13, 2011 at 11:16 AM, Dieter Verfaillie <
diet...@optionexplicit.be> wrote:
> Hi,
>
> If you simply want to use PyGTK as soon as possible,
Catalin,
Which version of pygtk and gtk (win32 bundle?) do you use?
Regards,
Marko Tasic
On Sun, Mar 13, 2011 at 10:43 AM, Catalin wrote:
> Hi
> I try to make working pygtk and gtk under python27.
> I read tutorials and i set gtk with this:
> I add on enviroment path vars : C:\g
On Linux everything works as expected, but there is no Python 3.x build for
Windows, so I'm forced to use ether Python 2.x build or "old" PyGtk.
Marko Tasic
On Fri, Mar 4, 2011 at 1:25 AM, Robert Park wrote:
> On Thu, Mar 3, 2011 at 3:25 PM, Greg Ewing
> wrote:
> >