[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "3.0.0" ) ]
public (unowned Drawable)[] get_selected_drawables ()
Get the image's selected drawables
This procedure returns the list of selected drawable in the specified image. This can be either layers, channels, or a layer mask. The active drawables are the active image channels. If there are none, these are the active image layers. If the active image layer has a layer mask and the layer mask is in edit mode, then the layer mask is the active drawable.
| this |
The image. |
|
The list of selected drawables in the image. The returned value must be freed with g_free. |