ElinaPeace wrote:
MareroQ wrote:
Hello ElinaPeace on the forum
Forgive me - but I don't understand what you are asking for.
If you are programming in Python, you can disable / enable the options:
- pdb.gimp_image_undo_group_start (image)
- pdb.gimp_context_push ()
Any example of your plugin?
Okay so, in my plugin I want to show visually to the user how something is done without simply automating, I wanna go step wise.
This is going to be very difficult. Plugins/scripts cannot act on the GUI by design, so your users will only see the results (even if in some case they can see things happening while the script runs).
In addition there is no direct mapping between GUI actions and the API; some simple GUI actions require more code than one would expect (Image>Scale image, for instance). In 2.10 this is even worse since the new GEGL-based tools & filters have no usable API.
In short, to pull this off, you have to be an external application than can tell where things are on the Gimp UI and send the appropriate signals to simulate button clicks and mouse moves. There areapplications used to perform automated software tests that can do this (but I haven't got any to recommend).