[g-a-devel]AtkObject Life Cycle



What is the correct way to handle the following scenario? An app, like gnome-volume-control, wants to assign accessible names to the accessibles representing some widgets in it. Obviously, it calls gtk_widget_get_accessible and calls atk_object_set_name on the return value. How does it ensure that the AtkObjects get destroyed? Does it need to cache copies of all the AtkObjects it creates with gtk_widget_get_accessible so it can unref them, or is there some easier approach? Refcounting is more straightforward when the assistive technology invokes the creation of accessibles, but seems a bit more merky when the applications themselves create them.

Marc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]