[Gimp-user] Sample script was: Re Enhancement request: Transparency as a "paintable" color

2013-08-07 Thread Brendan Scott

I have written a short python script to do paint-with-erase (see below)
Have no idea if it has unwanted side effects.

It gives no visible feedback of the current drawing mode :(
I'd be interested to hear how I might provide this feedback.


 Script

'''
toggle_eraser.py

toggles the current tool between eraser and paintbrush


Brendan Scott
Version: 1.20130807
7 August 2013

Copyright (C) 2013 Brendan Scott

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see 

Re: [Gimp-user] Sample script was: Re Enhancement request: Transparency as a "paintable" color

2013-08-07 Thread Kevin Cozens

On 13-08-07 08:36 AM, Brendan Scott wrote:

It gives no visible feedback of the current drawing mode :( I'd be
interested to hear how I might provide this feedback.


You could use gimp-message to display a pop up dialog box with message to
the user.

--
Cheers!

Kevin.

http://www.ve3syb.ca/   |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!"
#include  | --Chris Hardwick
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list