Gimp.context_set_defaults

function context_set_defaults(): Boolean {
    // Gjs wrapper for gimp_context_set_defaults()
}
  

Reset context settings to their default values.

This procedure resets context settings used by various procedures to their default value. This procedure will usually be called after a context push so that a script which calls procedures affected by context settings will not be affected by changes in the global context.

Since 2.8

Returns

TRUE on success.