Re: [Gimp-developer] How to get if the buffer is empty or not

2007-01-22 Thread Bart
Hi, does anybody know how gimp-buffer-list in SCM-script work when try to get the number off buffers in a variable? I didn't get it work. Thanx. Karamba! Bart > __ Bart schrieb: > Hi, > > i'm developing a script that insert the clipboard as a layer (its based > on older existing

Re: [Gimp-developer] How to get if the buffer is empty or not

2007-01-18 Thread Sven Neumann
Hi, On Thu, 2007-01-18 at 13:31 +0100, Bart wrote: > i'm developing a script that insert the clipboard as a layer Huh? How is that different to what Edit->Paste does? > and to avoid error messages to the user i'd > like to check up wether the clipboard is empty or not. > How to do that? You c

Re: [Gimp-developer] How to get if the buffer is empty or not

2007-01-18 Thread David Gowers
On 1/18/07, Bart <[EMAIL PROTECTED]> wrote: Hi, i'm developing a script that insert the clipboard as a layer (its based on older existing scripts) and to avoid error messages to the user i'd like to check up wether the clipboard is empty or not. How to do that? Maybe Script-fu has a similar

[Gimp-developer] How to get if the buffer is empty or not

2007-01-18 Thread Bart
Hi, i'm developing a script that insert the clipboard as a layer (its based on older existing scripts) and to avoid error messages to the user i'd like to check up wether the clipboard is empty or not. How to do that? If you interested this script could bundeled with next version of Gimp. I reg