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 440035 - Add more information to atk-types.def
Add more information to atk-types.def
Status: RESOLVED OBSOLETE
Product: pygtk
Classification: Bindings
Component: atk
Git Master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks: atk-proxy
 
 
Reported: 2007-05-20 22:09 UTC by Peter Parente
Modified: 2013-08-26 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Parente 2007-05-20 22:09:19 UTC
Some of the generation errors of the form:

Could not write virtual accessor method AtkComponent.get_extents: No ArgType for gint*

might be resolved by adding to the atk-types.def file. In this case, the solution is currently defined as a manual wrapper. However, others cases exist without wrappers, especially the interface proxies needed to implement atk support for custom widgets. For example:

Could not write interface proxy AtkEditableText.set_run_attributes: No ArgType for AtkAttributeSet*
Comment 1 Peter Parente 2007-05-25 20:08:58 UTC
For reference, here are the interface proxies that could not be written. Some of them (e.g. gpointer) probably can't be solved by adding new types alone.

Could not write interface proxy AtkComponent.add_focus_handler: No ArgType for AtkFocusHandler
Could not write interface proxy AtkDocument.get_document: No ArgType for gpointer
Could not write interface proxy AtkEditableText.set_run_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkStreamableContent.get_stream: No ArgType for GIOChannel*
Could not write interface proxy AtkTable.get_selected_columns: No ArgType for gint**
Could not write interface proxy AtkTable.get_selected_rows: No ArgType for gint**
Could not write interface proxy AtkText.get_character_at_offset: No ArgType for gunichar
Could not write interface proxy AtkText.get_run_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkText.get_default_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkText.get_range_extents: No ArgType for AtkTextRectangle*
Could not write interface proxy AtkText.get_bounded_ranges: No ArgType for AtkTextRange**
Could not write interface proxy AtkValue.get_current_value: No ArgType for GValue*
Could not write interface proxy AtkValue.get_maximum_value: No ArgType for GValue*
Could not write interface proxy AtkValue.get_minimum_value: No ArgType for GValue*
Could not write interface proxy AtkValue.set_current_value: No ArgType for const-GValue*
Comment 2 Peter Parente 2007-05-26 02:34:32 UTC
Appears value interface proxies must be written manually to account for GValue types and the fact that AT-SPI only allows for doubles anyways. Opening another bug on this topic.