Closed requested to merge amolenaar/pygobject:add-fundamental-types into master
PyGObject does not work well with fundamental types (e.g.
This MR is an attempt to implement support for fundamental types by using a base class (
It is quite tricky though, since there's no super type for all GType based classes. Therefore we know that something is GType based (it's "inheriting" from
GTypeInstance) only because it is defined as an "Object" in the typelib.
Status so far:
created a (simple)
an instance can be created via
Item can be created via a constructor method (currently SEGFAULT's, is the overrides logic interfering?)
Some tests in
tests/test_fundamental.py are skipped. Those tests seem to make Python crash.