[g-a-devel] Adding an AtkObject attribute?



Hello,

I am having a look at

https://github.com/mate-desktop/caja/issues/999

which is essentially about adding an AtkObject attribute to the
caja desktop window. Looking at how attributes are managed, atk
apparently just lets the implemtation provide a get_attributes()
method which does the real work. Apparently the caja desktop window
is just based on gtkwidget itself, whose get_attributes() method
(gtk_widget_accessible_get_attributes) just returns "toolkit"->"gtk"
with no way to add any attribute.

I'm wondering: can I perhaps just make caja_desktop_window_init replace
the accessible's get_attributes method with its own method, which
would call gtk_widget_accessible_get_attributes and append the desired
attribute to the attribute set before returning it?

Samuel


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