Method

GimpImageget_selected_channels

since: 3.0.0

Declaration [src]

GimpChannel**
gimp_image_get_selected_channels (
  GimpImage* image
)

Description [src]

Returns the specified image’s selected channels.

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

Available since: 3.0.0

Return value

Type: An array of GimpChannel*

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

The array is NULL-terminated.
The caller of the method takes ownership of the data container, but not the data inside it.