Cannot install Gtk.Widget style properties
Submitted by ulrik sverdrup
Link to original bug (#646536)
Description
I used gtk.widget_class_install_style_property in my app before, and trying to simply replace that with Gtk.WidgetClass.install_style_property does not seem effective, I get the error message: TypeError: unbound method install_style_property() must be called with WidgetClass instance as first argument (got GObjectMeta instance instead)
Is this a libgtk2 but or a pygobject bug? I need to be able to pass the (Python) subclass of Gtk.Bin into install_style_property.
Is there a different preferred method to add style properties that can be used as a workaround?
thank you.