After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 490174 - gail should export gailrenderercell.h
gail should export gailrenderercell.h
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Accessibility
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-10-25 15:15 UTC by Alejandro Piñeiro Iglesias (IRC: infapi00)
Modified: 2011-02-16 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Exports gailrenderercell.h (376 bytes, patch)
2007-11-08 16:29 UTC, Alejandro Piñeiro Iglesias (IRC: infapi00)
none Details | Review

Description Alejandro Piñeiro Iglesias (IRC: infapi00) 2007-10-25 15:15:54 UTC
gail currently only exports a very small number of interfaces, in libgail-util,
and currently, gailwidget.h. These interfaces are provided specifically so that custom widgets can more easily and consistently implement the ATK interfaces.

In general we don't want to export the other gail headers, since the
implementation details of how ATK is provided for specific widgets is not
something we want to require bincompat for, nor do we want these interfaces, in
general, to be used externally (other than the ones in libgail-gnome).

However, gailrenderercell is a class with virtual elements:
   * update_cache
   * property list

Each concrete gailrenderercell (gailtextcell, etc.) on gail implements or define these in a proper way.

If you want to define your custom cellrenderer, the proper way to implement his accessibility, is extend gailrenderercell and redefine this elements. If you want to do that, you require to access to gailrenderercell.h, but at this moment this .h is private.

This problem can't be solved using:
http://developer.gnome.org/projects/gap/presentations/GUAD3C/making-apps-accessible/anonymous-inheritance-1.html

This bug is similar to the bug 363128 (the begining of this description is an Copy&Paste :) ) but IMHO are different bugs, as the problems are slighty different, although the solution is very similar.
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2007-11-08 16:29:13 UTC
Created attachment 98774 [details] [review]
Exports gailrenderercell.h

This patch exports gailrenderercell.h 

Finally, to do that it properly, I needed to export too gailcell.h and gailcellparent.h
Comment 2 Alejandro Piñeiro Iglesias (IRC: infapi00) 2011-02-16 14:15:18 UTC
After more that three years, it is really unlikely that this will happen.

Closing the bug as WONTFIX