[Tizen] Provide SetListenPostRender interface 58/288458/5 accepted/tizen/unified/20230310.062657
authorWoochan Lee <wc0917.lee@samsung.com>
Fri, 17 Feb 2023 00:42:49 +0000 (09:42 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Tue, 7 Mar 2023 06:07:55 +0000 (15:07 +0900)
Asks the UI Toolkit listen for post render callback to get post render event in client.

Change-Id: Ie2b95ff4f02888b1266fb621c3990565f3f69bf8

atspi/atspi-accessible.c
atspi/atspi-accessible.h

index d461055..faba394 100644 (file)
@@ -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 */
 
index 5211972..364e75e 100644 (file)
@@ -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);