# Gimp.brush_set_spikes

    @accepts(unicode, int)
    @returns(int)
    def brush_set_spikes(name, spikes_in):
        # Python wrapper for gimp_brush_set_spikes()

Sets the number of spikes for a generated brush.

This procedure sets the number of spikes for a generated brush. If called for any other type of brush, it does not succeed.

Since 2.4

name

  The brush name.

spikes_in

  The desired number of spikes.

Returns