Gimp.Image.prototype.take_selected_paths

function take_selected_paths(paths: Array(Gimp.Path)): Boolean {
    // Gjs wrapper for gimp_image_take_selected_paths()
}
  

The paths are set as the selected paths in the image. Any previous selected paths are unselected.

Since 3.0

paths

The list of paths to select.

Returns

TRUE on success.