Gimp.Image.prototype.get_selected_layers
function get_selected_layers(): [return_value: Array(Gimp.Layer), num_layers: Number(gint)] {
// Gjs wrapper for gimp_image_get_selected_layers()
}
Returns the specified image's selected layers.
This procedure returns the list of selected layers in the specified image.
Since 3.0.0
- return_value
The list of selected layers in the image. The returned value must be freed with g_free().
- num_layers
The number of selected layers in the image.