Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plug-in help
#2
(01-07-2025, 05:28 PM)Deedolith Wrote: Hello,

I am having an hard time writing my first plus-in in Python.
I wrote a simple "Hello World" plug-in.
It show up in the menus (so the do_create_procedure member function work as intended).
It show up in the python procedures browser (so the do_query_procedures member function work as intended).
But it does not produce anything in the errors window and that leave me completly clueless.
What did I do wrong ?

...
I haven't tried the script so I'm just guessing - if it works as you have it above the message (being only a single line) will appear (possibly briefly) in the status line at the bottom of the GIMP window. Add a "\n" after the exclamation mark in your Hello world! string to make the message multi-line - it will then appear as a message dialog. Also run GIMP from a terminal window to see any error messages caused by the script.
Reply


Messages In This Thread
Plug-in help - by Deedolith - 01-07-2025, 05:28 PM
RE: Plug-in help - by programmer_ceds - 01-07-2025, 06:39 PM
RE: Plug-in help - by Deedolith - 01-07-2025, 07:45 PM
RE: Plug-in help - by Ofnuts - 01-07-2025, 10:41 PM
RE: Plug-in help - by gasMask - 01-08-2025, 08:45 AM
RE: Plug-in help - by MrsP-from-C - 01-08-2025, 03:43 PM
RE: Plug-in help - by gasMask - 01-09-2025, 09:18 AM
RE: Plug-in help - by Deedolith - 01-08-2025, 04:48 PM
RE: Plug-in help - by Ofnuts - 01-09-2025, 02:03 AM
RE: Plug-in help - by MrsP-from-C - 01-08-2025, 06:36 PM
RE: Plug-in help - by Deedolith - 01-08-2025, 06:40 PM
RE: Plug-in help - by MrsP-from-C - 01-08-2025, 06:51 PM
RE: Plug-in help - by MrsP-from-C - 01-09-2025, 09:49 AM

Forum Jump: