File: atk-deprecations.rst

package info (click to toggle)
at-spi2-core 2.56.2-1%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 6,152 kB
  • sloc: ansic: 44,852; xml: 1,477; python: 346; sh: 239; makefile: 26; javascript: 13
file content (31 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Deprecations in ATK that need work elsewhere
============================================

``atk_document_get_locale()`` and the corresponding field in the vtable
``AtkDocumentIface.get_document_locale`` are documented as deprecated
since 2013 (commit 97880727). However, WebKitGtk still seems to
implement it; it should use ``AtkObjectClass.get_object_locale``
instead.

Note that Orca does not seem to use the ``Document.GetLocale`` method
nor the ``Accessible.Locale`` property, so probably the code above from
WebKitGtk is not exercised.

AtkValue
--------

The following methods are deprecated in ``AtkValueIface`` since 2014
(commit 98838b2a):

-  ``get_current_value`` - replaced with ``get_value_and_text``
-  ``set_current_value`` - replaced with ``set_value``

And the following are replaced with ``get_range``, which returns an
``AtkRange`` boxed type:

-  ``get_maximum_value``
-  ``get_minimum_value``
-  ``get_minimum_increment``

Firefox still does not implement ``get_range``, ``get_value_and_text``,
``set_value``. See bug #71.