Re: Writing a new plugin



Le mardi 03 août 2021 à 20:19 +0000, non-null--- via gnumeric-list a
écrit :
On Tuesday, August 3, 2021 6:30 AM, Jean Brefort <
jean brefort normalesup org> wrote:
Le mardi 03 août 2021 à 00:04 +0000, non-null--- via gnumeric-list a
écrit :
On Monday, August 2, 2021 12:20 PM, Morten Welinder
<mortenw gnome org> wrote:
The best approach at this point is to clone one of the existing
plugins. The first question is to ask "what kind of plugin?"

Adding functions to Gnumeric?  -- take, for example, fn-math

Adding a solver method?  -- take glpk (external program) or nlsolve
(internal).
Anything else?  samples are getting a bit thin.
OK, thanks.

How is integration set up for other programming languages (e.g.
Python): through the plugin API?

I wrote some years ago a plugin using C++. The code is available at
http://svn.savannah.gnu.org/viewvc/gchemutils/trunk/gchemutils/gnumeric/

I suppose it should work mostly the same with the D language.

Python is quite a different issue, since a Python plugin needs a
specific loader.

Hope this helps,
Jean
Yes, very helpful and thanks.

As for the specific loader for Python, is that in a plugin itself?

Yes, the plugin is python-loader.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]