Unable to notify changes to non GtkWidget GtkAccessible object trees
If a tree of objects is exposed on the accessibility bus using GtkAccessible that are not GtkWidgets then there is no way to notify when the tree changes, thus the tree functions GtkAccessible.get_first_accessible_child
etc are only called once. GtkWidget notifies when these change by calling gtk_accessible_update_children
, which is private API. There will also be the same issue for the bounds of the objects which is notified using gtk_accessible_bounds_changed
.
The particular case I'm doing is exposing accessibility information in a Flutter application where the Flutter widgets are not rendered by GTK. It appeared to me that you should be able to expose accessibility information like this using GTK (as was possible in GTK 3), but perhaps that is not the expectation anymore or there is another method of doing this.