Function
Gimpbrushes_popup
Declaration [src]
gboolean
gimp_brushes_popup (
const gchar* brush_callback,
const gchar* popup_title,
const gchar* initial_brush,
gdouble opacity,
gint spacing,
GimpLayerMode paint_mode
)
Description [src]
Invokes the Gimp brush selection.
This procedure opens the brush selection dialog.
Parameters
brush_callback
-
Type:
const gchar*
The callback PDB proc to call when brush selection is made.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. popup_title
-
Type:
const gchar*
Title of the brush selection dialog.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. initial_brush
-
Type:
const gchar*
The name of the brush to set as the first selected.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. opacity
-
Type:
gdouble
The initial opacity of the brush.
spacing
-
Type:
gint
The initial spacing of the brush (if < 0 then use brush default spacing).
paint_mode
-
Type:
GimpLayerMode
The initial paint mode.