[pygtk] Overriding interface properties

2011-06-16 Thread Arjan Molenaar
Hi, I've started porting Gaphas to GTK+ 3 now, using PyGI on Linux. It all goes quite smoothly. Only now I'm running into the problem that my widget should implement the Gtk.Scrollable interface. For that it should define a few properties. In C those need to be declared using

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

2011-06-16 Thread Giuseppe Penone
Hi all, I'm trying (like many others) to port code from pygtk2 to gi. I'm running ubuntu 11.04, I first had only gir1.2-gtk-2.0 and, running the following lines: from gi.repository import Gtk print Gtk I get gi.module.DynamicModule 'Gtk' from '/usr/lib/girepository-1.0/Gtk-2.0.typelib' then I

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

2011-06-16 Thread Pietro Battiston
Il giorno gio, 16/06/2011 alle 20.17 +0200, Giuseppe Penone ha scritto: Hi all, I'm trying (like many others) to port code from pygtk2 to gi. I'm running ubuntu 11.04, I first had only gir1.2-gtk-2.0 and, running the following lines: from gi.repository import Gtk print Gtk I get

[pygtk] ANN: PyGUI 2.5

2011-06-16 Thread Greg Ewing
PyGUI 2.5 is available: http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ Lots of new stuff in this version. Highlights include: - Improved facilities for customising the standard menus. - Functions for creating PyGUI Images from PIL images and numpy arrays. - ListButton - a

Re: [pygtk] Overriding interface properties

2011-06-16 Thread Just Fill Bugs
On 06/17/2011 12:44 AM, Arjan Molenaar wrote: Hi, I've started porting Gaphas to GTK+ 3 now, using PyGI on Linux. It all goes quite smoothly. Only now I'm running into the problem that my widget should implement the Gtk.Scrollable interface. For that it should define a few properties. In