GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
|
|
Invokes the Gimp brush selection.
This procedure popups the brush selection dialog.
brush_callback : | The callback PDB proc to call when brush selection is made. |
popup_title : | Title to give the brush popup window. |
initial_brush : | The name of the brush to set as the first selected. |
opacity : | The initial opacity of the brush. |
spacing : | The initial spacing of the brush (if < 0 then use brush default spacing). |
paint_mode : | The initial paint mode. |
Returns : | TRUE on success. |
|
Popdown the Gimp brush selection.
This procedure closes an opened brush selection dialog.
brush_callback : | The name of the callback registered for this popup. |
Returns : | TRUE on success. |
|
Sets the current brush selection in a popup.
Sets the current brush selection in a popup.
brush_callback : | The name of the callback registered for this popup. |
brush_name : | The name of the brush to set as selected. |
opacity : | The initial opacity of the brush. |
spacing : | The initial spacing of the brush (if < 0 then use brush default spacing). |
paint_mode : | The initial paint mode. |
Returns : | TRUE on success. |
|
Retrieve information about the currently active brush (including data).
This procedure retrieves information about the currently active brush. This includes the brush name, and the brush extents (width and height). It also returns the brush data.
name : | the brush name (\"\" means current active pattern). |
opacity : | The brush opacity. |
spacing : | The brush spacing. |
paint_mode : | The paint mode. |
width : | The brush width. |
height : | The brush height. |
length : | Length of brush mask data. |
mask_data : | The brush mask data. |
Returns : | The brush name. |