get_items_in_area
Description:
public List<unowned CanvasItem> get_items_in_area (CanvasBounds area, bool inside_area, bool allow_overlaps, bool include_containers)
Gets a list of items inside or outside a given area.
Parameters:
| this |
a Canvas. |
| area |
the area to compare with each item's bounds. |
| inside_area |
true if items inside |
| allow_overlaps |
true if items which are partly inside and partly outside should be returned. |
| include_containers |
true if containers should be checked as well as normal items. |
Returns:
|
a list of items in the given area, or null if no items are found. The list should be freed with g_list_free. |