Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python-Fu Gimp 3.2.4. Get the active image
#3
(Yesterday, 03:06 PM)Scallact Wrote: def my_function(procedure, run_mode, image, drawables, config, data) :[/code]

"image" is the active image when you call the plugin.

No, not when the plugin is initialized.

My plugin launches a panel with buttons for launching several plugins.

While it's running, several images are open.
I'm switching between them.
The panel is open.

But how do I determine the active image so I can apply the plugin launched by the panel button to it?

The plugin only detects the active image upon startup. What about during operation?
Reply


Messages In This Thread
What about during operation? - by Burcador - Yesterday, 03:51 PM
RE: What about during operation? - by rich2005 - Yesterday, 04:57 PM
RE: What about during operation? - by Burcador - Yesterday, 05:39 PM

Forum Jump: