Release atk 1.32.0
[atk.git] / docs / tmpl / atkaction.sgml
blob11a04b2a4ab5ad1cfd23fcf44ed27f7138603d5b
1 <!-- ##### SECTION Title ##### -->
2 AtkAction
4 <!-- ##### SECTION Short_Description ##### -->
5 The ATK interface provided by UI components which the user can
6 activate/interact with,
8 <!-- ##### SECTION Long_Description ##### -->
9 <para>
10 #AtkAction should be implemented by instances of #AtkObject classes with
11 which the user can interact directly, i.e. buttons, checkboxes,
12 scrollbars, e.g. components which are not "passive"
13 providers of UI information.
14 </para>
15 <para>
16 Exceptions: when the user interaction is already covered by
17 another appropriate interface such as #AtkEditableText (insert/delete
18 test, etc.) or #AtkValue (set value) then these actions should not be
19 exposed by #AtkAction as well.
20 </para>
21 <para>
22 Also note that the #AtkAction API is limited in that parameters may not
23 be passed to the object being activated; thus the action must be
24 self-contained and specifiable via only a single "verb". Concrete
25 examples include "press", "release", "click" for buttons, "drag"
26 (meaning initiate drag) and "drop" for drag sources and drop targets,
27 etc.
28 </para>
29 <para>
30 Though most UI interactions on components should be invocable via
31 keyboard as well as mouse, there will generally be a close mapping
32 between "mouse actions" that are possible on a component and the
33 AtkActions. Where mouse and keyboard actions are redundant in effect,
34 #AtkAction should expose only one action rather than exposing redundant
35 actions if possible. By convention we have been using "mouse centric"
36 terminology for #AtkAction names.
37 </para>
39 <!-- ##### SECTION See_Also ##### -->
40 <para>
42 </para>
44 <!-- ##### SECTION Stability_Level ##### -->
47 <!-- ##### SECTION Image ##### -->
50 <!-- ##### STRUCT AtkAction ##### -->
51 <para>
52 The AtkAction structure does not contain any fields.
53 </para>
56 <!-- ##### FUNCTION atk_action_do_action ##### -->
57 <para>
59 </para>
61 @action:
62 @i:
63 @Returns:
66 <!-- ##### FUNCTION atk_action_get_n_actions ##### -->
67 <para>
69 </para>
71 @action:
72 @Returns:
75 <!-- ##### FUNCTION atk_action_get_description ##### -->
76 <para>
78 </para>
80 @action:
81 @i:
82 @Returns:
85 <!-- ##### FUNCTION atk_action_get_name ##### -->
86 <para>
88 </para>
90 @action:
91 @i:
92 @Returns:
95 <!-- ##### FUNCTION atk_action_get_localized_name ##### -->
96 <para>
98 </para>
100 @action:
101 @i:
102 @Returns:
105 <!-- ##### FUNCTION atk_action_get_keybinding ##### -->
106 <para>
108 </para>
110 @action:
111 @i:
112 @Returns:
115 <!-- ##### FUNCTION atk_action_set_description ##### -->
116 <para>
118 </para>
120 @action:
121 @i:
122 @desc:
123 @Returns: