Gimp.Image.prototype.get_selected_paths

function get_selected_paths(): Array(Gimp.Path) {
    // Gjs wrapper for gimp_image_get_selected_paths()
}
  

Returns the specified image's selected paths.

This procedure returns the list of selected paths in the specified image.

Since 3.0.0

Returns

The list of selected paths in the image. The returned value must be freed with g_free().