[TIZEN] Introduce atspi_collection_get_matches_in_matches API. 95/304695/1
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 30 Nov 2023 09:57:27 +0000 (18:57 +0900)
committerkim hosang <hosang12.kim@samsung.com>
Tue, 23 Jan 2024 08:02:39 +0000 (08:02 +0000)
commit5b003d74fa2e7c6b3bc04e068a4e60c5d5b89aec
tree3f189f5bf6bb77281685e8ca24e924f8a662daf4
parente5ecf6e7fa006fe002c19f0554dd93b473260c49
[TIZEN] Introduce atspi_collection_get_matches_in_matches API.

The atspi_collection_get_matches_in_matches API retrieves all accessible objects within an AtspiCollection that match two sets of match rules.
This function takes in an AtspiCollection, two AtspiMatchRule pointers, a sorting order, and counts for each match rule.
It returns a GArray of AtspiAccessible pointers that match both rules.

This API can be used to efficiently retrieve specific subsets of accessible objects within a collection based on their properties.i
For example, you could use this API to find all buttons within a dialog box that have the word "OK" in their label.

Change-Id: Ia3c216e0800a32471b4a5251f33c8c6a7eda31aa
(cherry picked from commit 255ee78225866835b2cf036ddbb2d55133791bf6)
atspi/atspi-collection.c
atspi/atspi-collection.h