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 C those need to be declared using g_object_class_override_property(). What's 
the Python counterpart for this?


It seems the PyGobject examples/properties.py works okey once you replaced gobject with GObject to make it gi compatible. So take a look at the PyGobject's examples directory.


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to