get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned Drawable? get_by_id (int32 drawable_id)

Returns a Drawable representing drawable_id.

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

Parameters:

drawable_id

The drawable id.

Returns:

a Drawable for drawable_id or null if drawable_id does not represent a valid drawable. The object belongs to libgimp and you must not modify or unref it.