get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned Channel? get_by_id (int32 channel_id)

Returns a Channel representing channel_id.

This function calls get_by_id and returns the item if it is channel or null otherwise.

Parameters:

channel_id

The channel id.

Returns:

a Channel for channel_id or null if channel_id does not represent a valid channel. The object belongs to libgimp and you must not modify or unref it.