Gimp.context_set_paint_mode

function context_set_paint_mode(paint_mode: Gimp.LayerMode): Boolean {
    // Gjs wrapper for gimp_context_set_paint_mode()
}
  

Set the paint mode.

Modifies the paint_mode setting.

Since 2.2

paint_mode

The paint mode.

Returns

TRUE on success.