Re: [pygtk] gir1.2-gtk-2.0 and gir1.2-gtk-3.0 together

2011-06-17 Thread Marko Tasic
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

Re: [pygtk] PROBLEM: gtkwarning: gdk_property_change: assertion 'window != NULL' failed Options

2011-05-22 Thread Marko Tasic
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

Re: [pygtk] pygtk Digest, Vol 99, Issue 17

2011-05-21 Thread Marko Tasic
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

Re: [pygtk] Windows binary not running on XP

2011-05-20 Thread Marko Tasic
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

Re: [pygtk] Need help with pygtk and gtk...under Windows XP

2011-03-13 Thread Marko Tasic
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,

Re: [pygtk] Need help with pygtk and gtk...under Windows XP

2011-03-13 Thread Marko Tasic
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

Re: [pygtk] PyGtk for Python 3?

2011-03-04 Thread Marko Tasic
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: > >