Re: [Gimp-developer] Re: Re: regex+

2002-11-27 Thread Robin Rowe
Carol,

> this is such a good topic for a tutorial!  i needed help to see this
> stuff at first as well.  i don't have time to write the tutorial, but i
> got some screenshots for it when i have the time.

Hi. Thank you for the detailed response. I found that enlightening.

Cheers,

Robin
---
www.FilmGimp.org
www.LinuxMovies.org
www.OpenSourceProgrammers.org
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



Re: [Gimp-developer] Re: Re: regex+

2002-11-27 Thread Sven Neumann
Hi,

Carol Spears <[EMAIL PROTECTED]> writes:

> this is such a good topic for a tutorial!  i needed help to see this
> stuff at first as well.  i don't have time to write the tutorial, but i
> got some screenshots for it when i have the time.

nice stuff, but, sorry, you are not using any regex features here...


Salut, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer



[Gimp-developer] Re: Re: regex+

2002-11-27 Thread Carol Spears
this is such a good topic for a tutorial!  i needed help to see this
stuff at first as well.  i don't have time to write the tutorial, but i
got some screenshots for it when i have the time.

i have been working with gimp-python lately, so i chose that console for
my tutorial.  the script fu console works the same way, so if you
haven't installed the python module in your gimp, you can use that one
that comes with gimp.

Xtns -->Python Fu -->Console will bring up this dialog:
http://carol.gimp.org/mygimp/tutorials/dbbrowser/gimp_pdb-browser.png
i needed the gradient list for my last plug-in.  

after you find the call you need and hit the okay button, it is back to
that original dialog:
http://carol.gimp.org/mygimp/tutorials/dbbrowser/gimp_python-console2.png

see, it gets cooler now.  it is the same dialog, yet in the little text
box at the bottom is the call you queried about only in the way that
python understands it.  also, it shows what the return is.  this thing
does most of the work for you ...

so, for the best part, you need to remove the equal sign and everything
to the left of it (this will leave pdb.gimp_gradients_get_list() in the
text box.  hit enter and see this(!!):
http://carol.gimp.org/mygimp/tutorials/dbbrowser/gimp_python-console3.png

whee!

carol
O
n 2002-11-26 at 2328.53 -0800, Robin Rowe typed this:
> Carol,
> 
> > well, i use it. honest.  Robin, ever try to write a gimp plug-in?
> 
> How would regex help me write a gimp plug-in?
> 
> Cheers,
> 
> Robin
> ---
> www.FilmGimp.org
> www.LinuxMovies.org
> www.OpenSourceProgrammers.org
> ___
> Gimp-developer mailing list
> [EMAIL PROTECTED]
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
> 
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer