ParamSpec TypeError
- From: Dan Yeaw <dan yeaw me>
- To: python-hackers-list gnome org
- Subject: ParamSpec TypeError
- Date: Thu, 20 Jul 2017 21:55:56 -0400
I am trying to convert the etk.docking library to PyGObject to upgrade a
UML tool called Gaphor to PyGi and make it compatible with Python3. In
order to do this I need the ability to install child properties.
When I try to create a param spec using GObject.param_spec_float(), it
creates a gobject.GParamSpec. If I then use this pspec to call
Gtk.ContainerClass.install_child_property, I get a TypeError since it is
expecting a GObject.ParamSpec. I also noticed that GParamSpec is listed
as a static type in GObject overrides module in pygobject. Is there a
reason why GParamSpec is listed as a static type?
I have also submitted bug 784991 where I went in to more detail of what
I was trying to convert. I would really appreciate any help or guidance!
Thanks,
Dan Yeaw
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]