[pygtk] [ANNOUNCE] PyGTK 2.23.1

2011-03-11 Thread John Stowers
Hi All A new unstable development release of the Python bindings for GTK-2 has been released. The new release is available from ftp.gnome.org and its mirrors as soon as its synced correctly: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.23/ Note: PyGTK 2.24 will be the last release in the PyG

Re: [pygtk] Gtk 3 will be stable?

2011-03-11 Thread John Stowers
On Fri, 2011-03-11 at 10:38 +0100, danieleisca wrote: > Hi all, > I saw that pygtk 2.22 do not solved problems with the native GdkPixbuf > loader since image loading time is too long on Windows. This is why > practically Gtk graphic software is not portable except that you use a > dated Gtk vers

[pygtk] Representing a GClosure or GPointer as a pyobject or pygobject?

2011-03-11 Thread Adam Plumb
I'm trying to find the right way to pass a GClosure to a python script from C.  I'm updating the nautilus-python extension to work with GObject introspection and one of the extension methods passes a GClosure parameter (one which asks extensions to get file info) which is meant to be passed to anot

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Anders F Björklund
Chris Van Bael wrote: > Hi, > > I haven't installed it yet, but this looks very promising after all > the troubles I had with jhbuild building for the wrong python and > MacPorts not so great supporting GTK on Quartz. > I still haven't figured it out completely. Both the Darwin/X11 version of GT

Re: [pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Chris Van Bael
Hi, I haven't installed it yet, but this looks very promising after all the troubles I had with jhbuild building for the wrong python and MacPorts not so great supporting GTK on Quartz. I still haven't figured it out completely. One question I still have: will this install PyGTK in the Python pro

[pygtk] Testing PyGTK installer for Mac OS X

2011-03-11 Thread Anders F Björklund
Hi, we needed a simpler way to install PyGTK on Mac OS X, besides using macports/fink or jhbuild to compile it... So we are testing an all-in-one (= both gtk+ and pygtk) Universal installer for Mac OS X 10.5 Leopard and later: http://afb.users.sourceforge.net/zero-install/PyGTK.pkg It's for bot

[pygtk] Gtk 3 will be stable?

2011-03-11 Thread danieleisca
Hi all, I saw that pygtk 2.22 do not solved problems with the native GdkPixbuf loader since image loading time is too long on Windows. This is why practically Gtk graphic software is not portable except that you use a dated Gtk version. The bug is well known, but remains unsolved. Then I would

Re: [pygtk] Import error

2011-03-11 Thread 馬吉軍
Hi, Some circular import in Window1 and Window2. You'd better to put class Window1 and Window2 to one single module Window. Window.py: import gtk, pygtk class Window1: def __init__(self, gtkfile): self.gtkfile = gtkfile builder = gtk.Builder() builder.add_objects_fro

Re: [pygtk] Import error

2011-03-11 Thread Aurélien PROVIN
Ooops :p http://aprovin.linux62.org/others/forums/pygtk/wizard1/windows.ui Regards, Le vendredi 11 mars 2011 à 16:32 +0800, Kimi M a écrit : > Hi, > > > It will be better that you can provide also the windows.ui file. Thank > you in advance. > > > --- > 顺颂时祺 > http://m.kimi.im/ > > > > O

Re: [pygtk] Import error

2011-03-11 Thread 馬吉軍
Hi, It will be better that you can provide also the windows.ui file. Thank you in advance. BRs, Kimi 顺颂时祺 On Fri, Mar 11, 2011 at 3:34 PM, Aurélien PROVIN wrote: > Hi, > > I'am trying to make a simple wizard which has two windows with just next > and previous butto

[pygtk] Import error

2011-03-11 Thread Aurélien PROVIN
Hi, I'am trying to make a simple wizard which has two windows with just next and previous buttons. But I get an import error with second window when I click on previous button : Window2.py, line 27, in button_prev_clicked window1 = Window1(self.gtkfile) NameError: global name 'Window1' is not defi