Gimp.context_push

function context_push(): Boolean {
    // Gjs wrapper for gimp_context_push()
}
  

Pushes a context onto the top of the plug-in's context stack.

Creates a new context by copying the current context. The copy becomes the new current context for the calling plug-in until it is popped again using Gimp.context_pop.

Since 2.2

Returns

TRUE on success.