[pygtk] Overriding interface properties

Arjan Molenaar gaphor at gmail.com
Fri Jun 17 00:44:26 WST 2011


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?

Regards,

Arjan


More information about the pygtk mailing list