RSS/Atom feed Twitter
Site is read-only, email is disabled

select pencil/paintbrush and undo/redo from a script

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

select pencil/paintbrush and undo/redo from a script Ioan Calin Borcoman 07 Jun 11:22
  select pencil/paintbrush and undo/redo from a script Sven Neumann 07 Jun 11:28
Ioan Calin Borcoman
2009-06-07 11:22:30 UTC (over 15 years ago)

select pencil/paintbrush and undo/redo from a script

Hi,

My gimpsketchbook app is offering an alternative (extended) interface for gimp via a plugin that acts as a proxy between the gimpsketchbook and gimp.

I would like to be able to add buttons for selecting the current active tool (for example, select the pencil or the paintbrush) or to execute undo/redo. Unfortunately, there are no functions in pdb for any of these. Any idea how I can implement these?

Thanx,

Ionutz

Sven Neumann
2009-06-07 11:28:35 UTC (over 15 years ago)

select pencil/paintbrush and undo/redo from a script

Hi,

On Sun, 2009-06-07 at 12:22 +0300, Ioan Calin Borcoman wrote:

My gimpsketchbook app is offering an alternative (extended) interface for gimp via a plugin that acts as a proxy between the gimpsketchbook and gimp.

I would like to be able to add buttons for selecting the current active tool (for example, select the pencil or the paintbrush) or to execute undo/redo. Unfortunately, there are no functions in pdb for any of these. Any idea how I can implement these?

It is not the purpose of the PDB to allow scripting of the GIMP UI.

There is no interface exported by GIMP that would allow to do what you are asking for. Except for the accessibility interface that GTK+ exports. It may be possible to do what you are asking for using this framework. Have a look at at-spi, dogtail and ldtp.

Sven