Major progress on my end. I found two major sources of crashes (1: many of
our
boxed types were bad; 2: some pygobject versions fail on transfer-full
arguments).
You can follow the battle at
https://git.gnome.org/browse/gnumeric/tree/README-introspection
although that file may move. This file also contains the "blessed" API.
This is still evolving.
My main test script is at
https://git.gnome.org/browse/gnumeric/tree/test/t3001-introspection-simple.py
It does pretty much everything one can do to a workbook other than file i/o.
(That's somewhere on my list.)
Note: I have marked lots of functions as "skip" because they are low-level
functions
not intended for scripting. Most of GnmCell's methods are like that. They
don't do
what you would expect of them and there are proper alternatives, typically
in Sheet.
Morten
_______________________________________________
gnumeric-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnumeric-list