On Sat, 2009-05-30 at 20:47 -0400, Adam C Powell IV wrote:
> I'm sorry, I'm developing a C plugin (tried Scheme first and it was DOG
> slow).  Is there a C equivalent?  All I'm seeing is
> gimp-paintbrush-register.

Open Gimp
Select Help > Procedure Browser
In the search box, type "brush"
Click on "gimp-context-set-brush"
Read the documentation
In your plugin, add the line:

gboolean result = gimp_context_set_brush("Circle (01)");

Rinse, lather, repeat.

(The hardest part is changing the dashes in the name to underscores.)

--David


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to