Re: how to convert VB scripts to Gnumeric python

Morten Welinder <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnumeric
Message-ID <CANv4PNmnFHSFtM8dx0cuUo1gy+i5e=RNgRU_0rosAacd4xLwAA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.