From 8065e1146c0775090aca0ff7e6f24b4eec7b589c Mon Sep 17 00:00:00 2001 From: Woochan Lee Date: Fri, 17 Feb 2023 09:42:49 +0900 Subject: [PATCH] [Tizen] Provide SetListenPostRender interface Asks the UI Toolkit listen for post render callback to get post render event in client. Change-Id: Ie2b95ff4f02888b1266fb621c3990565f3f69bf8 --- atspi/atspi-accessible.c | 15 +++++++++++++++ atspi/atspi-accessible.h | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index d461055..faba394 100644 --- a/atspi/atspi-accessible.c +++ b/atspi/atspi-accessible.c @@ -1465,6 +1465,21 @@ atspi_accessible_get_id (AtspiAccessible *obj, GError **error) return ret; } +//TIZEN_ONLY(20230307) Provide post render callback to client +/** + * atspi_accessible_set_listen_post_render: + * @obj: a pointer to the #AtspiAccessible object on which to operate. + * @enabled: a boolean true listen post render callback, false otherwise. + * + * Asks the UI Toolkit listen for the post render callback. + **/ +void +atspi_accessible_set_listen_post_render(AtspiAccessible *obj, gboolean enabled, GError **error) +{ + g_return_val_if_fail (obj != NULL, FALSE); + + _atspi_dbus_call (obj, atspi_interface_accessible, "SetListenPostRender", error, "b", enabled, NULL); +} /* Interface query methods */ diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h index 5211972..364e75e 100644 --- a/atspi/atspi-accessible.h +++ b/atspi/atspi-accessible.h @@ -159,6 +159,10 @@ gint atspi_accessible_get_id (AtspiAccessible *obj, GError **error); AtspiAccessible * atspi_accessible_get_application (AtspiAccessible *obj, GError **error); +//TIZEN_ONLY(20230307) Provide post render callback to client +void atspi_accessible_set_listen_post_render(AtspiAccessible *obj, gboolean enabled, GError **error); +// + #ifndef ATSPI_DISABLE_DEPRECATED AtspiAction * atspi_accessible_get_action (AtspiAccessible *obj); -- 2.7.4