2008-08-15 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / xml / org.freedesktop.atspi.Application.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" name="/node">
3
4
5
6
7
8 <interface name="org.freedesktop.atspi.Application">
9   <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
10     <p>An interface identifying an object which is the root of the
11       user interface Accessible hierarchy associated with a running application.
12       Children of Application are typically, but not exclusively, 
13       top-level windows.
14       @note It is possible for an element deeper in an Accessibility stack to
15       implement Application, for instance in the case of "embedded applications"
16       which draw into toplevel windows associated with other applications
17       from the user's point of view.</p>
18   </tp:docstring>
19   <tp:property name="toolkitName" type="s" access="read">
20   <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
21     <p>A string indicating the type of user interface toolkit
22       which is used by the application.
23       @note Ordinarily clients of ::Application should be
24       toolkit-agnostic, dependencies on this property should
25       be avoided where possible.</p>
26   </tp:docstring>
27   </tp:property>
28   <tp:property name="version" type="s" access="read">
29   <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
30     <p>A string indicating the version number of the application's
31       accessibility bridge implementation.</p>
32   </tp:docstring>
33   </tp:property>
34   <tp:property name="id" type="i" access="readwrite">
35   <tp:docstring>
36     The application instance's unique ID as assigned by the registry.
37   </tp:docstring>
38   </tp:property>
39   <method name="registerToolkitEventListener">
40     <arg direction="in" name="listener" type="o" tp:type="EventListener">
41     <tp:docstring>
42       an ::EventListener object which will receive the requestedevents from the application's toolkits via toolit 'bridges'
43     </tp:docstring>
44     </arg>
45     <arg direction="in" name="eventName" type="s">
46     <tp:docstring>
47       a UTF-8 string indicating the type of (toolkit-specific) eventbeing requested.  Not all applications can generate toolkit events ofa given type.Register with this application's toolkit for "toolkit-specific" event notifications.@noteFor most event support, clients should use non-toolkit-specific eventswhenever possible, via ::Registry::registerGlobalEventListener - this method is provided as a 'back door' when generic names do not exist for the events in question.
48     </tp:docstring>
49     </arg>
50   </method>
51   <method name="registerObjectEventListener">
52     <tp:docstring>
53       registerObjectEventListener:
54     </tp:docstring>
55     <arg direction="in" name="listener" type="o" tp:type="EventListener">
56     <tp:docstring>
57       an ::EventListener object which will receive the requestedevents
58     </tp:docstring>
59     </arg>
60     <arg direction="in" name="eventName" type="s">
61     <tp:docstring>
62       a UTF-8 string indicating the type of (toolkit-specific) eventbeing requested.  Register with this application toolkit for "Accessibility::Accessible" event notifications. @note: SUBJECT TO DEPRECATION.
63     </tp:docstring>
64     </arg>
65   </method>
66   <method name="pause">
67     <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
68       <p>Request that the application temporarily stop sending events.
69         In most cases this should pause the application's main event loop.    </p>
70     </tp:docstring>
71     <arg direction="out" type="b" tp:type="boolean">
72     <tp:docstring>
73       \c true if the request succeeded, \c false otherwise.@note: This method is not implemented in most toolkits, and therefore should be treated with caution.
74     </tp:docstring>
75     </arg>
76   </method>
77   <method name="resume">
78     <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
79       <p>Request that the application resume sending events.    </p>
80     </tp:docstring>
81     <arg direction="out" type="b" tp:type="boolean">
82     <tp:docstring>
83       \c True if the request succeeded, \c False otherwise.
84     </tp:docstring>
85     </arg>
86   </method>
87   <method name="getLocale">
88     <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
89       <p>Gets the locale in which the application is currently operating.
90         For the current message locale, use \a lctype LOCALE_TYPE_MESSAGES.    </p>
91
92       <p>@param lctype The LocaleType for which the locale is queried.</p>
93     </tp:docstring>
94     <arg direction="in" name="lctype" type="u" tp:type="LOCALE_TYPE"/>
95     <arg direction="out" type="s">
96     <tp:docstring>
97       a string compliant with the POSIX standard for locale description.
98     </tp:docstring>
99     </arg>
100   </method>
101   <method name="unImplemented_">
102     <tp:docstring>
103       \cond (This comment tells doxygen not to document these) 
104     </tp:docstring>
105   </method>
106   <method name="unImplemented2_">
107   </method>
108   <method name="unImplemented3_">
109   </method>
110 </interface>
111 </node>