Gimp.gradients_refresh

function gradients_refresh(): Boolean {
    // Gjs wrapper for gimp_gradients_refresh()
}
  

Refresh current gradients. This function always succeeds.

This procedure retrieves all gradients currently in the user's gradient path and updates the gradient dialogs accordingly.

Returns

TRUE on success.