gimpbrushes

gimpbrushes — Functions for manipulating brushes.

Functions

Description

Functions related to getting and setting brushes.

Functions

gimp_brushes_refresh ()

gboolean
gimp_brushes_refresh (void);

Refresh current brushes. This function always succeeds.

This procedure retrieves all brushes currently in the user's brush path and updates the brush dialogs accordingly.

Returns

TRUE on success.


gimp_brushes_get_list ()

gchar **
gimp_brushes_get_list (const gchar *filter,
                       gint *num_brushes);

Retrieve a complete listing of the available brushes.

This procedure returns a complete listing of available GIMP brushes. Each name returned can be used as input to the gimp_context_set_brush() procedure.

Parameters

filter

An optional regular expression used to filter the list.

 

num_brushes

The number of brushes in the brush list.

[out]

Returns

The list of brush names. The returned value must be freed with g_strfreev().

[array length=num_brushes][element-type gchar*][transfer full]