GIMP Chat
http://gimpchat.com/

Creating a guide for GIMP
http://gimpchat.com/viewtopic.php?f=9&t=17803
Page 1 of 1

Author:  ElinaPeace [ Mon Nov 18, 2019 7:06 am ]
Post subject:  Creating a guide for GIMP

Hello! I hope I can get help here because there are not many resources available supporting GIMP
So, for my undergraduate final project I am creating a software guide which is voice based and I want to show how a particular task is done as the user requests. For example; when an action needs to be undone, the program show go to the edit menu in the menu bar and click on undo while explaining to the user the reason for that.

So far, I have created a few simple plugins and I need help to create the part where it shows how everything is done.

Please do ask any questions to clarify the functioning of the application I have explained above

Author:  Blighty II [ Mon Nov 18, 2019 10:19 am ]
Post subject:  Re: Creating a guide for GIMP

ElinaPeace wrote:
I need help to create the part where it shows how everything is done.


That is going to be a lot of voice.

A good place to start is here:
https://www.gimp.org/docs/

Author:  MareroQ [ Mon Nov 18, 2019 11:11 am ]
Post subject:  Re: Creating a guide for GIMP

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?

Author:  ElinaPeace [ Mon Nov 18, 2019 8:03 pm ]
Post subject:  Re: Creating a guide for GIMP

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.

Author:  ofnuts [ Tue Nov 19, 2019 2:42 am ]
Post subject:  Re: Creating a guide for GIMP

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).

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/