Re: [Gimp-developer] About The Python Script writing

2021-08-25 Thread ShiroYuki Mot via gimp-developer-list
On my previous post, the following blocks is wrong. > (First, Can we replace 'pdb.' to 'null'?.) Please forget it. And Please remove it. PS; When I tried from The Console, The applied last result from the Procedure Browser shows '[ ]'. It's not user friendly, a bit. At the white space place, we

Re: [Gimp-developer] About The Python Script writing

2021-08-25 Thread Jehan Pagès via gimp-developer-list
Hi, On Wed, Aug 25, 2021 at 1:52 AM Ofnuts via gimp-developer-list < gimp-developer-list@gnome.org> wrote: > Wouldn't it be more natural to write the migration program in Python > itself (plus this needs Python2->Python3 migration)? Why add a > It's a third-party tool, not an official one. We

Re: [Gimp-developer] About The Python Script writing

2021-08-24 Thread ShiroYuki Mot via gimp-developer-list
Derailment... Only by seeing the code... (Not try yet) In Foggify.py, a variable name "name" conflict with the "name" of the property registration? This is probably because the label string 'name' no longer appears in the dialog. (Only showing the TextBox default-valued "clouds".) If so, in that

Re: [Gimp-developer] About The Python Script writing

2021-08-24 Thread ShiroYuki Mot via gimp-developer-list
Dear Ofnuts. Thanks for your reply. Sure. But, Simply, I'm easier to write in C# than Python. (and more easier in VB.net than C#.) I answer that I don't have enough knowledge about it. Why add a dependency on yet another language? Is there a decent C# runtime > on Linux? There exists a 'Mono'

Re: [Gimp-developer] About The Python Script writing

2021-08-24 Thread ShiroYuki Mot via gimp-developer-list
Dear Jehan Pagès Thanks a lot. Your detailed answers help me. :) Q1. > It looks like a limitation of this __gproperties__ syntax, but maybe I > missed something in how this syntax works. > And this is all why it's such a mess. Of course, maybe a best way might be > to define all properties with

Re: [Gimp-developer] About The Python Script writing

2021-08-24 Thread Ofnuts via gimp-developer-list
Wouldn't it be more natural to write the migration program in Python itself (plus this needs Python2->Python3 migration)? Why add a dependency on yet another language? Is there a decent C# runtime on Linux? On 24/08/2021 17:31, ShiroYuki Mot via gimp-developer-list wrote: I wrote the Script

Re: [Gimp-developer] About The Python Script writing

2021-08-24 Thread Jehan Pagès via gimp-developer-list
Hi! On Tue, Aug 24, 2021 at 5:31 PM ShiroYuki Mot wrote: > I wrote the Script File Migration Program. > It was used by MS Visual Studio C#. > The target is to migrate the simple and basic scripts to the new API 3 in > GIMP 2.99 (GIMP 3). > Yes, Scheme and Python, both. > It is still Draft level

[Gimp-developer] About The Python Script writing

2021-08-24 Thread ShiroYuki Mot via gimp-developer-list
I wrote the Script File Migration Program. It was used by MS Visual Studio C#. The target is to migrate the simple and basic scripts to the new API 3 in GIMP 2.99 (GIMP 3). Yes, Scheme and Python, both. It is still Draft level yet. Scheme file was almost done, but, Python file is not complete yet.