1 /* atspi-2.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Atspi", gir_namespace = "Atspi", gir_version = "2.0", lower_case_cprefix = "atspi_")]
5 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_accessible_get_type ()")]
6 public class Accessible : Atspi.Object, Atspi.Action, Atspi.Collection, Atspi.Component, Atspi.Document, Atspi.EditableText, Atspi.Hypertext, Atspi.Image, Atspi.Selection, Atspi.Table, Atspi.TableCell, Atspi.Text, Atspi.Value {
7 public weak Atspi.Accessible accessible_parent;
8 public weak GLib.HashTable<void*,void*> attributes;
9 public uint cached_properties;
10 public weak GLib.GenericArray<void*> children;
11 public weak string description;
12 public int interfaces;
13 public weak string name;
14 public Atspi.Role role;
15 public weak Atspi.StateSet states;
16 [CCode (has_construct_function = false)]
17 protected Accessible ();
18 public void clear_cache ();
19 [Version (deprecated = true, deprecated_since = "2.10")]
20 public Atspi.Action get_action ();
21 public Atspi.Action get_action_iface ();
22 public Atspi.Accessible get_application () throws GLib.Error;
23 public string get_atspi_version () throws GLib.Error;
24 public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
25 public GLib.Array<string> get_attributes_as_array () throws GLib.Error;
26 public Atspi.Accessible get_child_at_index (int child_index) throws GLib.Error;
27 public int get_child_count () throws GLib.Error;
28 [Version (deprecated = true, deprecated_since = "2.10")]
29 public Atspi.Collection get_collection ();
30 public Atspi.Collection get_collection_iface ();
31 [Version (deprecated = true, deprecated_since = "2.10")]
32 public Atspi.Component get_component ();
33 public Atspi.Component get_component_iface ();
34 public string get_description () throws GLib.Error;
35 [Version (deprecated = true, deprecated_since = "2.10")]
36 public Atspi.Document get_document ();
37 public Atspi.Document get_document_iface ();
38 [Version (deprecated = true, deprecated_since = "2.10")]
39 public Atspi.EditableText get_editable_text ();
40 public Atspi.EditableText get_editable_text_iface ();
41 public Atspi.Hyperlink get_hyperlink ();
42 [Version (deprecated = true, deprecated_since = "2.10")]
43 public Atspi.Hypertext get_hypertext ();
44 public Atspi.Hypertext get_hypertext_iface ();
45 public int get_id () throws GLib.Error;
46 [Version (deprecated = true, deprecated_since = "2.10")]
47 public Atspi.Image get_image ();
48 public Atspi.Image get_image_iface ();
49 public int get_index_in_parent () throws GLib.Error;
50 public GLib.Array<string> get_interfaces ();
51 public string get_localized_role_name () throws GLib.Error;
52 public string get_name () throws GLib.Error;
53 public unowned string get_object_locale () throws GLib.Error;
54 public Atspi.Accessible? get_parent () throws GLib.Error;
55 public uint get_process_id () throws GLib.Error;
56 public GLib.Array<Atspi.Relation> get_relation_set () throws GLib.Error;
57 public Atspi.Role get_role () throws GLib.Error;
58 public string get_role_name () throws GLib.Error;
59 [Version (deprecated = true, deprecated_since = "2.10")]
60 public Atspi.Selection get_selection ();
61 public Atspi.Selection get_selection_iface ();
62 public Atspi.StateSet get_state_set ();
63 [Version (deprecated = true, deprecated_since = "2.10")]
64 public Atspi.Table get_table ();
65 public Atspi.TableCell get_table_cell ();
66 public Atspi.Table get_table_iface ();
67 [Version (deprecated = true, deprecated_since = "2.10")]
68 public Atspi.Text get_text ();
69 public Atspi.Text get_text_iface ();
70 public string get_toolkit_name () throws GLib.Error;
71 public string get_toolkit_version () throws GLib.Error;
72 [Version (deprecated = true, deprecated_since = "2.10")]
73 public Atspi.Value get_value ();
74 public Atspi.Value get_value_iface ();
75 public void set_cache_mask (Atspi.Cache mask);
77 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_listener_get_type ()")]
78 public class DeviceListener : GLib.Object {
79 public weak GLib.List<void*> callbacks;
81 [CCode (has_construct_function = false)]
82 public DeviceListener (owned Atspi.DeviceListenerCB callback);
83 public void add_callback ([CCode (delegate_target_pos = 1.2, destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerCB callback);
85 public virtual bool device_event (Atspi.DeviceEvent event);
86 public void remove_callback (Atspi.DeviceListenerCB callback);
87 [CCode (has_construct_function = false)]
88 public DeviceListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.DeviceListenerSimpleCB callback);
90 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_event_get_type ()")]
93 public GLib.Value any_data;
96 public weak Atspi.Accessible source;
97 public weak string type;
98 public static void main ();
99 public static void quit ();
101 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_event_listener_get_type ()")]
102 public class EventListener : GLib.Object {
103 public weak Atspi.EventListenerCB callback;
104 public weak GLib.DestroyNotify cb_destroyed;
105 public void* user_data;
106 [CCode (has_construct_function = false)]
107 public EventListener (owned Atspi.EventListenerCB callback);
108 public bool deregister (string event_type) throws GLib.Error;
109 public static bool deregister_from_callback ([CCode (delegate_target_pos = 1.5)] Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
110 public static bool deregister_no_data (Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
111 public bool register (string event_type) throws GLib.Error;
112 public static bool register_from_callback ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB callback, string event_type) throws GLib.Error;
113 public static bool register_from_callback_full ([CCode (delegate_target_pos = 1.33333, destroy_notify_pos = 1.66667)] owned Atspi.EventListenerCB? callback, string event_type, GLib.Array<string> properties) throws GLib.Error;
114 public bool register_full (string event_type, GLib.Array<string>? properties) throws GLib.Error;
115 public static bool register_no_data ([CCode (destroy_notify_pos = 1.5)] owned Atspi.EventListenerSimpleCB callback, string event_type) throws GLib.Error;
116 [CCode (has_construct_function = false)]
117 public EventListener.simple ([CCode (destroy_notify_pos = 1.1)] owned Atspi.EventListenerSimpleCB callback);
119 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_hyperlink_get_type ()")]
120 public class Hyperlink : Atspi.Object {
121 [CCode (has_construct_function = false)]
122 protected Hyperlink ();
123 public int get_end_index () throws GLib.Error;
124 public Atspi.Range get_index_range () throws GLib.Error;
125 public int get_n_anchors () throws GLib.Error;
126 public Atspi.Accessible get_object (int i) throws GLib.Error;
127 public int get_start_index () throws GLib.Error;
128 public string get_uri (int i) throws GLib.Error;
129 public bool is_valid () throws GLib.Error;
131 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_key_definition_get_type ()")]
133 public class KeyDefinition {
135 public weak string keystring;
139 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_match_rule_get_type ()")]
140 public class MatchRule : GLib.Object {
141 public Atspi.CollectionMatchType attributematchtype;
142 public weak GLib.HashTable<void*,void*> attributes;
143 public Atspi.CollectionMatchType interfacematchtype;
144 public weak GLib.Array<void*> interfaces;
146 public Atspi.CollectionMatchType rolematchtype;
147 [CCode (array_length = false)]
148 public weak int roles[4];
149 public Atspi.CollectionMatchType statematchtype;
150 public weak Atspi.StateSet states;
151 [CCode (has_construct_function = false)]
152 public MatchRule (Atspi.StateSet states, Atspi.CollectionMatchType statematchtype, GLib.HashTable<string,string> attributes, Atspi.CollectionMatchType attributematchtype, GLib.Array<Atspi.Role> roles, Atspi.CollectionMatchType rolematchtype, GLib.Array<string> interfaces, Atspi.CollectionMatchType interfacematchtype, bool invert);
154 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_object_get_type ()")]
155 public class Object : GLib.Object {
156 public Atspi.Application app;
157 public weak string path;
158 [CCode (has_construct_function = false)]
161 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_point_get_type ()")]
166 public Atspi.Point copy ();
168 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_range_get_type ()")]
171 public int end_offset;
172 public int start_offset;
173 public Atspi.Range copy ();
175 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_rect_get_type ()")]
182 public Atspi.Rect copy ();
184 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_relation_get_type ()")]
185 public class Relation : GLib.Object {
186 public Atspi.RelationType relation_type;
187 public weak GLib.Array<void*> targets;
188 [CCode (has_construct_function = false)]
189 protected Relation ();
190 public int get_n_targets ();
191 public Atspi.RelationType get_relation_type ();
192 public Atspi.Accessible get_target (int i);
194 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_state_set_get_type ()")]
195 public class StateSet : GLib.Object {
196 public void* accessible;
198 [CCode (has_construct_function = false)]
199 public StateSet (GLib.Array<Atspi.StateType> states);
200 public void add (Atspi.StateType state);
201 public Atspi.StateSet compare (Atspi.StateSet set2);
202 public bool contains (Atspi.StateType state);
203 public bool equals (Atspi.StateSet set2);
204 public GLib.Array<Atspi.StateType> get_states ();
205 public bool is_empty ();
206 public void remove (Atspi.StateType state);
207 public void set_by_name (string name, bool enabled);
209 [CCode (cheader_filename = "atspi/atspi.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atspi_text_range_get_type ()")]
211 public class TextRange {
212 public weak string content;
213 public int end_offset;
214 public int start_offset;
216 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_action_get_type ()")]
217 public interface Action : GLib.Object {
218 public bool do_action (int i) throws GLib.Error;
219 public string get_action_description (int i) throws GLib.Error;
220 public string get_action_name (int i) throws GLib.Error;
221 [Version (deprecated = true, deprecated_since = "2.10")]
222 public string get_description (int i) throws GLib.Error;
223 public string get_key_binding (int i) throws GLib.Error;
224 public string get_localized_name (int i) throws GLib.Error;
225 public int get_n_actions () throws GLib.Error;
226 [Version (deprecated = true, deprecated_since = "2.10")]
227 public string get_name (int i) throws GLib.Error;
229 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_collection_get_type ()")]
230 public interface Collection : GLib.Object {
231 public Atspi.Accessible get_active_descendant () throws GLib.Error;
232 public GLib.Array<Atspi.Accessible> get_matches (Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, int count, bool traverse) throws GLib.Error;
233 public GLib.Array<Atspi.Accessible> get_matches_from (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, int count, bool traverse) throws GLib.Error;
234 public GLib.Array<Atspi.Accessible> get_matches_to (Atspi.Accessible current_object, Atspi.MatchRule rule, Atspi.CollectionSortOrder sortby, Atspi.CollectionTreeTraversalType tree, bool limit_scope, int count, bool traverse) throws GLib.Error;
235 public bool is_ancestor_of (Atspi.Accessible test) throws GLib.Error;
237 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_component_get_type ()")]
238 public interface Component : GLib.Object {
239 public bool contains (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
240 public Atspi.Accessible? get_accessible_at_point (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
241 public double get_alpha () throws GLib.Error;
242 public Atspi.Rect get_extents (Atspi.CoordType ctype) throws GLib.Error;
243 public Atspi.ComponentLayer get_layer () throws GLib.Error;
244 public short get_mdi_z_order () throws GLib.Error;
245 public Atspi.Point get_position (Atspi.CoordType ctype) throws GLib.Error;
246 public Atspi.Point get_size () throws GLib.Error;
247 public bool grab_focus () throws GLib.Error;
248 public bool scroll_to (Atspi.ScrollType type) throws GLib.Error;
249 public bool scroll_to_point (Atspi.CoordType coords, int x, int y) throws GLib.Error;
250 public bool set_extents (int x, int y, int width, int height, Atspi.CoordType ctype) throws GLib.Error;
251 public bool set_position (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
252 public bool set_size (int width, int height) throws GLib.Error;
254 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_document_get_type ()")]
255 public interface Document : GLib.Object {
256 [Version (deprecated = true, deprecated_since = "2.10")]
257 public string get_attribute_value (string attribute) throws GLib.Error;
258 [Version (deprecated = true, deprecated_since = "2.10")]
259 public GLib.HashTable<string,string> get_attributes () throws GLib.Error;
260 public int get_current_page_number () throws GLib.Error;
261 public string get_document_attribute_value (string attribute) throws GLib.Error;
262 public GLib.HashTable<string,string> get_document_attributes () throws GLib.Error;
263 public string get_locale () throws GLib.Error;
264 public int get_page_count () throws GLib.Error;
266 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_editable_text_get_type ()")]
267 public interface EditableText : GLib.Object {
268 public bool copy_text (int start_pos, int end_pos) throws GLib.Error;
269 public bool cut_text (int start_pos, int end_pos) throws GLib.Error;
270 public bool delete_text (int start_pos, int end_pos) throws GLib.Error;
271 public bool insert_text (int position, string text, int length) throws GLib.Error;
272 public bool paste_text (int position) throws GLib.Error;
273 public bool set_text_contents (string new_contents) throws GLib.Error;
275 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_hypertext_get_type ()")]
276 public interface Hypertext : GLib.Object {
277 public Atspi.Hyperlink? get_link (int link_index) throws GLib.Error;
278 public int get_link_index (int character_offset) throws GLib.Error;
279 public int get_n_links () throws GLib.Error;
281 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_image_get_type ()")]
282 public interface Image : GLib.Object {
283 public string get_image_description () throws GLib.Error;
284 public Atspi.Rect get_image_extents (Atspi.CoordType ctype) throws GLib.Error;
285 public string get_image_locale () throws GLib.Error;
286 public Atspi.Point get_image_position (Atspi.CoordType ctype) throws GLib.Error;
287 public Atspi.Point get_image_size () throws GLib.Error;
289 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_selection_get_type ()")]
290 public interface Selection : GLib.Object {
291 public bool clear_selection () throws GLib.Error;
292 public bool deselect_child (int child_index) throws GLib.Error;
293 public bool deselect_selected_child (int selected_child_index) throws GLib.Error;
294 public int get_n_selected_children () throws GLib.Error;
295 public Atspi.Accessible get_selected_child (int selected_child_index) throws GLib.Error;
296 public bool is_child_selected (int child_index) throws GLib.Error;
297 public bool select_all () throws GLib.Error;
298 public bool select_child (int child_index) throws GLib.Error;
300 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_table_get_type ()")]
301 public interface Table : GLib.Object {
302 public bool add_column_selection (int column) throws GLib.Error;
303 public bool add_row_selection (int row) throws GLib.Error;
304 public Atspi.Accessible get_accessible_at (int row, int column) throws GLib.Error;
305 public Atspi.Accessible get_caption () throws GLib.Error;
306 public int get_column_at_index (int index) throws GLib.Error;
307 public string get_column_description (int column) throws GLib.Error;
308 public int get_column_extent_at (int row, int column) throws GLib.Error;
309 public Atspi.Accessible get_column_header (int column) throws GLib.Error;
310 public int get_index_at (int row, int column) throws GLib.Error;
311 public int get_n_columns () throws GLib.Error;
312 public int get_n_rows () throws GLib.Error;
313 public int get_n_selected_columns () throws GLib.Error;
314 public int get_n_selected_rows () throws GLib.Error;
315 public int get_row_at_index (int index) throws GLib.Error;
316 public bool get_row_column_extents_at_index (int index, out int row, out int col, out int row_extents, out int col_extents, out bool is_selected) throws GLib.Error;
317 public string get_row_description (int row) throws GLib.Error;
318 public int get_row_extent_at (int row, int column) throws GLib.Error;
319 public Atspi.Accessible get_row_header (int row) throws GLib.Error;
320 public GLib.Array<int> get_selected_columns () throws GLib.Error;
321 public GLib.Array<int> get_selected_rows () throws GLib.Error;
322 public Atspi.Accessible get_summary () throws GLib.Error;
323 public bool is_column_selected (int column) throws GLib.Error;
324 public bool is_row_selected (int row) throws GLib.Error;
325 public bool is_selected (int row, int column) throws GLib.Error;
326 public bool remove_column_selection (int column) throws GLib.Error;
327 public bool remove_row_selection (int row) throws GLib.Error;
329 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_table_cell_get_type ()")]
330 public interface TableCell : GLib.Object {
331 public GLib.GenericArray<Atspi.Accessible> get_column_header_cells () throws GLib.Error;
332 public int get_column_index () throws GLib.Error;
333 public int get_column_span () throws GLib.Error;
334 public int get_position (out int row, out int column) throws GLib.Error;
335 public void get_row_column_span (out int row, out int column, out int row_span, out int column_span) throws GLib.Error;
336 public GLib.GenericArray<Atspi.Accessible> get_row_header_cells () throws GLib.Error;
337 public int get_row_span () throws GLib.Error;
338 public Atspi.Accessible get_table () throws GLib.Error;
340 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_text_get_type ()")]
341 public interface Text : GLib.Object {
342 public bool add_selection (int start_offset, int end_offset) throws GLib.Error;
343 public GLib.HashTable<string,string> get_attribute_run (int offset, bool include_defaults, out int start_offset, out int end_offset) throws GLib.Error;
344 [Version (deprecated = true, deprecated_since = "2.10")]
345 public string? get_attribute_value (int offset, string attribute_name) throws GLib.Error;
346 [Version (deprecated = true, deprecated_since = "2.10")]
347 public GLib.HashTable<string,string> get_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
348 public GLib.Array<Atspi.TextRange> get_bounded_ranges (int x, int y, int width, int height, Atspi.CoordType type, Atspi.TextClipType clipTypeX, Atspi.TextClipType clipTypeY) throws GLib.Error;
349 public int get_caret_offset () throws GLib.Error;
350 public uint get_character_at_offset (int offset) throws GLib.Error;
351 public int get_character_count () throws GLib.Error;
352 public Atspi.Rect get_character_extents (int offset, Atspi.CoordType type) throws GLib.Error;
353 public GLib.HashTable<string,string> get_default_attributes () throws GLib.Error;
354 public int get_n_selections () throws GLib.Error;
355 public int get_offset_at_point (int x, int y, Atspi.CoordType type) throws GLib.Error;
356 public Atspi.Rect get_range_extents (int start_offset, int end_offset, Atspi.CoordType type) throws GLib.Error;
357 public Atspi.Range get_selection (int selection_num) throws GLib.Error;
358 [Version (since = "2.9.90")]
359 public Atspi.TextRange get_string_at_offset (int offset, Atspi.TextGranularity granularity) throws GLib.Error;
360 public string get_text (int start_offset, int end_offset) throws GLib.Error;
361 public Atspi.TextRange get_text_after_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
362 [Version (deprecated = true, deprecated_since = "2.10")]
363 public Atspi.TextRange get_text_at_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
364 public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
365 public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
366 public Atspi.TextRange get_text_before_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
367 public bool remove_selection (int selection_num) throws GLib.Error;
368 public bool set_caret_offset (int new_offset) throws GLib.Error;
369 public bool set_selection (int selection_num, int start_offset, int end_offset) throws GLib.Error;
371 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_value_get_type ()")]
372 public interface Value : GLib.Object {
373 public double get_current_value () throws GLib.Error;
374 public double get_maximum_value () throws GLib.Error;
375 public double get_minimum_increment () throws GLib.Error;
376 public double get_minimum_value () throws GLib.Error;
377 public bool set_current_value (double new_value) throws GLib.Error;
379 [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
380 public struct Application {
381 public weak GLib.Object parent;
382 public weak GLib.HashTable<void*,void*> hash;
383 public weak string bus_name;
385 public Atspi.Cache cache;
386 public weak string toolkit_name;
387 public weak string toolkit_version;
388 public weak string atspi_version;
389 public void* time_added;
391 [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
392 public struct ApplicationClass {
393 public weak GLib.ObjectClass parent_class;
395 [CCode (cheader_filename = "atspi/atspi.h")]
397 public struct ControllerEventMask : uint {
399 [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_event_get_type ()")]
400 public struct DeviceEvent {
401 public Atspi.EventType type;
403 public ushort hw_code;
404 public ushort modifiers;
405 public uint timestamp;
406 public weak string event_string;
409 [CCode (cheader_filename = "atspi/atspi.h")]
411 public struct DeviceEventMask : uint {
413 [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
414 public struct EventListenerMode {
415 public bool synchronous;
416 public bool preemptive;
419 [CCode (cheader_filename = "atspi/atspi.h")]
421 public struct KeyEventMask : uint {
423 [CCode (cheader_filename = "atspi/atspi.h")]
425 public struct KeyMaskType : uint {
427 [CCode (cheader_filename = "atspi/atspi.h", has_type_id = false)]
428 public struct KeySet {
430 public ushort keycodes;
431 public weak string keystrings;
434 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_CACHE_", type_id = "atspi_cache_get_type ()")]
450 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_MATCH_", type_id = "atspi_collection_match_type_get_type ()")]
451 public enum CollectionMatchType {
459 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_SORT_ORDER_", type_id = "atspi_collection_sort_order_get_type ()")]
460 public enum CollectionSortOrder {
470 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_Collection_TREE_", type_id = "atspi_collection_tree_traversal_type_get_type ()")]
471 public enum CollectionTreeTraversalType {
477 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_LAYER_", type_id = "atspi_component_layer_get_type ()")]
478 public enum ComponentLayer {
489 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_COORD_TYPE_", type_id = "atspi_coord_type_get_type ()")]
490 public enum CoordType {
495 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
496 public enum EventType {
499 BUTTON_PRESSED_EVENT,
500 BUTTON_RELEASED_EVENT
502 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEY_", type_id = "atspi_key_event_type_get_type ()")]
503 public enum KeyEventType {
507 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEYLISTENER_", type_id = "atspi_key_listener_sync_type_get_type ()")]
509 public enum KeyListenerSyncType {
515 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_KEY_", type_id = "atspi_key_synth_type_get_type ()")]
516 public enum KeySynthType {
523 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_LOCALE_TYPE_", type_id = "atspi_locale_type_get_type ()")]
524 public enum LocaleType {
532 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_MODIFIER_", type_id = "atspi_modifier_type_get_type ()")]
533 public enum ModifierType {
543 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_RELATION_", type_id = "atspi_relation_type_get_type ()")]
544 public enum RelationType {
570 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_ROLE_", type_id = "atspi_role_get_type ()")]
664 DOCUMENT_SPREADSHEET,
665 DOCUMENT_PRESENTATION,
698 public string get_name ();
700 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_SCROLL_", type_id = "atspi_scroll_type_get_type ()")]
701 public enum ScrollType {
710 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_STATE_", type_id = "atspi_state_type_get_type ()")]
711 public enum StateType {
749 SUPPORTS_AUTOCOMPLETION,
758 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_BOUNDARY_", type_id = "atspi_text_boundary_type_get_type ()")]
759 public enum TextBoundaryType {
768 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_CLIP_", type_id = "atspi_text_clip_type_get_type ()")]
769 public enum TextClipType {
775 [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_TEXT_GRANULARITY_", type_id = "atspi_text_granularity_get_type ()")]
776 public enum TextGranularity {
783 [CCode (cheader_filename = "atspi/atspi.h", instance_pos = 1.9)]
784 public delegate bool DeviceListenerCB (owned Atspi.DeviceEvent stroke);
785 [CCode (cheader_filename = "atspi/atspi.h", has_target = false)]
786 public delegate bool DeviceListenerSimpleCB (owned Atspi.DeviceEvent stroke);
787 [CCode (cheader_filename = "atspi/atspi.h", instance_pos = 1.9)]
788 public delegate void EventListenerCB (owned Atspi.Event event);
789 [CCode (cheader_filename = "atspi/atspi.h", has_target = false)]
790 public delegate void EventListenerSimpleCB (owned Atspi.Event event);
791 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COMPONENTLAYER_COUNT")]
792 public const int COMPONENTLAYER_COUNT;
793 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_COORD_TYPE_COUNT")]
794 public const int COORD_TYPE_COUNT;
795 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_ACCESSIBLE")]
796 public const string DBUS_INTERFACE_ACCESSIBLE;
797 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_ACTION")]
798 public const string DBUS_INTERFACE_ACTION;
799 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_APPLICATION")]
800 public const string DBUS_INTERFACE_APPLICATION;
801 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_CACHE")]
802 public const string DBUS_INTERFACE_CACHE;
803 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_COLLECTION")]
804 public const string DBUS_INTERFACE_COLLECTION;
805 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_COMPONENT")]
806 public const string DBUS_INTERFACE_COMPONENT;
807 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DEC")]
808 public const string DBUS_INTERFACE_DEC;
809 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER")]
810 public const string DBUS_INTERFACE_DEVICE_EVENT_LISTENER;
811 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_DOCUMENT")]
812 public const string DBUS_INTERFACE_DOCUMENT;
813 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EDITABLE_TEXT")]
814 public const string DBUS_INTERFACE_EDITABLE_TEXT;
815 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_KEYBOARD")]
816 public const string DBUS_INTERFACE_EVENT_KEYBOARD;
817 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_MOUSE")]
818 public const string DBUS_INTERFACE_EVENT_MOUSE;
819 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_OBJECT")]
820 public const string DBUS_INTERFACE_EVENT_OBJECT;
821 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERLINK")]
822 public const string DBUS_INTERFACE_HYPERLINK;
823 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERTEXT")]
824 public const string DBUS_INTERFACE_HYPERTEXT;
825 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_IMAGE")]
826 public const string DBUS_INTERFACE_IMAGE;
827 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_REGISTRY")]
828 public const string DBUS_INTERFACE_REGISTRY;
829 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SELECTION")]
830 public const string DBUS_INTERFACE_SELECTION;
831 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SOCKET")]
832 public const string DBUS_INTERFACE_SOCKET;
833 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE")]
834 public const string DBUS_INTERFACE_TABLE;
835 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TABLE_CELL")]
836 public const string DBUS_INTERFACE_TABLE_CELL;
837 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_TEXT")]
838 public const string DBUS_INTERFACE_TEXT;
839 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_VALUE")]
840 public const string DBUS_INTERFACE_VALUE;
841 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_NAME_REGISTRY")]
842 public const string DBUS_NAME_REGISTRY;
843 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_DEC")]
844 public const string DBUS_PATH_DEC;
845 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_NULL")]
846 public const string DBUS_PATH_NULL;
847 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_REGISTRY")]
848 public const string DBUS_PATH_REGISTRY;
849 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_PATH_ROOT")]
850 public const string DBUS_PATH_ROOT;
851 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_EVENTTYPE_COUNT")]
852 public const int EVENTTYPE_COUNT;
853 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_KEYEVENTTYPE_COUNT")]
854 public const int KEYEVENTTYPE_COUNT;
855 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_KEYSYNTHTYPE_COUNT")]
856 public const int KEYSYNTHTYPE_COUNT;
857 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_MATCHTYPES_COUNT")]
858 public const int MATCHTYPES_COUNT;
859 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_MODIFIERTYPE_COUNT")]
860 public const int MODIFIERTYPE_COUNT;
861 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_RELATIONTYPE_COUNT")]
862 public const int RELATIONTYPE_COUNT;
863 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_ROLE_COUNT")]
864 public const int ROLE_COUNT;
865 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SCROLLTYPE_COUNT")]
866 public const int SCROLLTYPE_COUNT;
867 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SORTORDER_COUNT")]
868 public const int SORTORDER_COUNT;
869 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_STATETYPE_COUNT")]
870 public const int STATETYPE_COUNT;
871 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_TEXT_BOUNDARY_TYPE_COUNT")]
872 public const int TEXT_BOUNDARY_TYPE_COUNT;
873 [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_TEXT_CLIP_TYPE_COUNT")]
874 public const int TEXT_CLIP_TYPE_COUNT;
875 [CCode (cheader_filename = "atspi/atspi.h")]
876 public static bool deregister_device_event_listener (Atspi.DeviceListener listener, void* filter) throws GLib.Error;
877 [CCode (cheader_filename = "atspi/atspi.h")]
878 public static bool deregister_keystroke_listener (Atspi.DeviceListener listener, GLib.Array<Atspi.KeyDefinition>? key_set, Atspi.KeyMaskType modmask, Atspi.KeyEventMask event_types) throws GLib.Error;
879 [CCode (cheader_filename = "atspi/atspi.h")]
880 public static int exit ();
881 [CCode (cheader_filename = "atspi/atspi.h")]
882 public static bool generate_keyboard_event (long keyval, string? keystring, Atspi.KeySynthType synth_type) throws GLib.Error;
883 [CCode (cheader_filename = "atspi/atspi.h")]
884 public static bool generate_mouse_event (long x, long y, string name) throws GLib.Error;
885 [CCode (cheader_filename = "atspi/atspi.h")]
886 public static Atspi.Accessible get_desktop (int i);
887 [CCode (cheader_filename = "atspi/atspi.h")]
888 public static int get_desktop_count ();
889 [CCode (cheader_filename = "atspi/atspi.h")]
890 public static GLib.Array<Atspi.Accessible> get_desktop_list ();
891 [CCode (cheader_filename = "atspi/atspi.h")]
892 public static int init ();
893 [CCode (cheader_filename = "atspi/atspi.h")]
894 public static bool is_initialized ();
895 [CCode (cheader_filename = "atspi/atspi.h")]
896 public static bool register_device_event_listener (Atspi.DeviceListener listener, Atspi.DeviceEventMask event_types, void* filter) throws GLib.Error;
897 [CCode (cheader_filename = "atspi/atspi.h")]
898 public static bool register_keystroke_listener (Atspi.DeviceListener listener, GLib.Array<Atspi.KeyDefinition>? key_set, Atspi.KeyMaskType modmask, Atspi.KeyEventMask event_types, Atspi.KeyListenerSyncType sync_type) throws GLib.Error;
899 [CCode (cheader_filename = "atspi/atspi.h")]
900 public static void set_main_context (GLib.MainContext cnx);
901 [CCode (cheader_filename = "atspi/atspi.h")]
902 public static void set_timeout (int val, int startup_time);