On 17 Jun 2011, at 05:25, Just Fill Bugs wrote: > 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.
Did that. Only there the creation of new properties is demoed. I need to implement properties defined in an interface. For that the protocol is slightly different. I can't find how that is covered. Regards, Arjan _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/