codegen: Use temporary variable for string concatenation
[vala-lang.git] / vapi / atk.vapi
blob55d2375b72ddf29da23d64aefb89d7546a196c9a
1 /* atk.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Atk", lower_case_cprefix = "atk_", gir_namespace = "Atk", gir_version = "1.0")]
4 namespace Atk {
5         [Compact]
6         [CCode (cheader_filename = "atk/atk.h")]
7         public class Attribute {
8                 public weak string name;
9                 public weak string value;
10         }
11         [Compact]
12         [CCode (cheader_filename = "atk/atk.h")]
13         public class AttributeSet {
14         }
15         [CCode (cheader_filename = "atk/atk.h")]
16         public class GObjectAccessible : Atk.Object {
17                 [CCode (has_construct_function = false)]
18                 protected GObjectAccessible ();
19                 public static unowned Atk.Object for_object (GLib.Object obj);
20                 public unowned GLib.Object get_object ();
21         }
22         [CCode (cheader_filename = "atk/atk.h")]
23         public class Hyperlink : GLib.Object, Atk.Action {
24                 [CCode (has_construct_function = false)]
25                 protected Hyperlink ();
26                 public virtual int get_end_index ();
27                 public virtual int get_n_anchors ();
28                 public virtual unowned Atk.Object get_object (int i);
29                 public virtual int get_start_index ();
30                 public virtual unowned string get_uri (int i);
31                 public bool is_inline ();
32                 public virtual bool is_selected_link ();
33                 public virtual bool is_valid ();
34                 [NoWrapper]
35                 public virtual uint link_state ();
36                 public int end_index { get; }
37                 [NoAccessorMethod]
38                 public int number_of_anchors { get; }
39                 [NoAccessorMethod]
40                 public bool selected_link { get; }
41                 public int start_index { get; }
42                 public virtual signal void link_activated ();
43         }
44         [Compact]
45         [CCode (cheader_filename = "atk/atk.h")]
46         public class KeyEventStruct {
47                 public uint16 keycode;
48                 public uint keyval;
49                 public int length;
50                 public uint state;
51                 [CCode (cname = "string")]
52                 public weak string str;
53                 public uint32 timestamp;
54                 public int type;
55         }
56         [CCode (cheader_filename = "atk/atk.h")]
57         public class Misc : GLib.Object {
58                 [CCode (has_construct_function = false)]
59                 protected Misc ();
60                 public static unowned Atk.Misc get_instance ();
61                 public virtual void threads_enter ();
62                 public virtual void threads_leave ();
63         }
64         [CCode (cheader_filename = "atk/atk.h")]
65         public class NoOpObject : Atk.Object, Atk.Component, Atk.Action, Atk.EditableText, Atk.Image, Atk.Selection, Atk.Table, Atk.Text, Atk.Hypertext, Atk.Value, Atk.Document {
66                 [CCode (type = "AtkObject*", has_construct_function = false)]
67                 public NoOpObject (GLib.Object obj);
68         }
69         [CCode (cheader_filename = "atk/atk.h")]
70         public class NoOpObjectFactory : Atk.ObjectFactory {
71                 [CCode (type = "AtkObjectFactory*", has_construct_function = false)]
72                 public NoOpObjectFactory ();
73         }
74         [CCode (cheader_filename = "atk/atk.h")]
75         public class Object : GLib.Object {
76                 public weak string description;
77                 public Atk.Layer layer;
78                 public weak string name;
79                 public weak Atk.RelationSet relation_set;
80                 public Atk.Role role;
81                 [CCode (has_construct_function = false)]
82                 protected Object ();
83                 public bool add_relationship (Atk.RelationType relationship, Atk.Object target);
84                 public virtual uint connect_property_change_handler (Atk.PropertyChangeHandler handler);
85                 public virtual unowned Atk.AttributeSet get_attributes ();
86                 public virtual unowned string get_description ();
87                 public virtual int get_index_in_parent ();
88                 public virtual Atk.Layer get_layer ();
89                 public virtual int get_mdi_zorder ();
90                 public int get_n_accessible_children ();
91                 [NoWrapper]
92                 public virtual int get_n_children ();
93                 public virtual unowned string get_name ();
94                 public virtual unowned Atk.Object get_parent ();
95                 public virtual Atk.Role get_role ();
96                 public virtual void initialize (void* data);
97                 public void notify_state_change (Atk.State state, bool value);
98                 public unowned Atk.Object ref_accessible_child (int i);
99                 [NoWrapper]
100                 public virtual unowned Atk.Object ref_child (int i);
101                 public virtual unowned Atk.RelationSet ref_relation_set ();
102                 public virtual unowned Atk.StateSet ref_state_set ();
103                 public virtual void remove_property_change_handler (uint handler_id);
104                 public bool remove_relationship (Atk.RelationType relationship, Atk.Object target);
105                 public virtual void set_description (string description);
106                 public virtual void set_name (string name);
107                 public virtual void set_parent (Atk.Object parent);
108                 public virtual void set_role (Atk.Role role);
109                 [NoAccessorMethod]
110                 public int accessible_component_layer { get; }
111                 [NoAccessorMethod]
112                 public int accessible_component_mdi_zorder { get; }
113                 [NoAccessorMethod]
114                 public string accessible_description { owned get; set; }
115                 [NoAccessorMethod]
116                 public int accessible_hypertext_nlinks { get; }
117                 [NoAccessorMethod]
118                 public string accessible_name { owned get; set; }
119                 [NoAccessorMethod]
120                 public Atk.Object accessible_parent { owned get; set; }
121                 [NoAccessorMethod]
122                 public int accessible_role { get; set; }
123                 [NoAccessorMethod]
124                 public string accessible_table_caption { owned get; set; }
125                 [NoAccessorMethod]
126                 public Atk.Object accessible_table_caption_object { owned get; set; }
127                 [NoAccessorMethod]
128                 public string accessible_table_column_description { owned get; set; }
129                 [NoAccessorMethod]
130                 public Atk.Object accessible_table_column_header { owned get; set; }
131                 [NoAccessorMethod]
132                 public string accessible_table_row_description { owned get; set; }
133                 [NoAccessorMethod]
134                 public Atk.Object accessible_table_row_header { owned get; set; }
135                 [NoAccessorMethod]
136                 public Atk.Object accessible_table_summary { owned get; set; }
137                 [NoAccessorMethod]
138                 public double accessible_value { get; set; }
139                 public virtual signal void active_descendant_changed (void* child);
140                 public virtual signal void children_changed (uint change_index, void* changed_child);
141                 public virtual signal void focus_event (bool focus_in);
142                 public virtual signal void property_change (void* values);
143                 public virtual signal void state_change (string name, bool state_set);
144                 public virtual signal void visible_data_changed ();
145         }
146         [CCode (cheader_filename = "atk/atk.h")]
147         public class ObjectFactory : GLib.Object {
148                 [CCode (has_construct_function = false)]
149                 protected ObjectFactory ();
150                 public virtual unowned Atk.Object create_accessible (GLib.Object obj);
151                 public virtual GLib.Type get_accessible_type ();
152                 public virtual void invalidate ();
153         }
154         [CCode (cheader_filename = "atk/atk.h")]
155         public class Plug : Atk.Object {
156                 [CCode (type = "AtkObject*", has_construct_function = false)]
157                 public Plug ();
158                 public unowned string get_id ();
159                 [NoWrapper]
160                 public virtual unowned string get_object_id ();
161         }
162         [Compact]
163         [CCode (cheader_filename = "atk/atk.h")]
164         public class PropertyValues {
165                 public GLib.Value new_value;
166                 public GLib.Value old_value;
167                 public weak string property_name;
168         }
169         [CCode (cheader_filename = "atk/atk.h")]
170         public class Registry : GLib.Object {
171                 public weak GLib.HashTable factory_singleton_cache;
172                 public weak GLib.HashTable factory_type_registry;
173                 [CCode (has_construct_function = false)]
174                 protected Registry ();
175                 public unowned Atk.ObjectFactory get_factory (GLib.Type type);
176                 public GLib.Type get_factory_type (GLib.Type type);
177                 public void set_factory_type (GLib.Type type, GLib.Type factory_type);
178         }
179         [CCode (cheader_filename = "atk/atk.h")]
180         public class Relation : GLib.Object {
181                 public Atk.RelationType relationship;
182                 [CCode (has_construct_function = false)]
183                 public Relation (Atk.Object[] targets, Atk.RelationType relationship);
184                 public void add_target (Atk.Object target);
185                 public Atk.RelationType get_relation_type ();
186                 public unowned GLib.GenericArray get_target ();
187                 public bool remove_target (Atk.Object target);
188                 public static Atk.RelationType type_for_name (string name);
189                 public static unowned string type_get_name (Atk.RelationType type);
190                 public static Atk.RelationType type_register (string name);
191                 [NoAccessorMethod]
192                 public Atk.RelationType relation_type { get; set; }
193                 [NoAccessorMethod]
194                 public GLib.ValueArray target { owned get; set; }
195         }
196         [CCode (cheader_filename = "atk/atk.h")]
197         public class RelationSet : GLib.Object {
198                 public weak GLib.GenericArray relations;
199                 [CCode (has_construct_function = false)]
200                 public RelationSet ();
201                 public void add (Atk.Relation relation);
202                 public void add_relation_by_type (Atk.RelationType relationship, Atk.Object target);
203                 public bool contains (Atk.RelationType relationship);
204                 public int get_n_relations ();
205                 public unowned Atk.Relation get_relation (int i);
206                 public unowned Atk.Relation get_relation_by_type (Atk.RelationType relationship);
207                 public void remove (Atk.Relation relation);
208         }
209         [CCode (cheader_filename = "atk/atk.h")]
210         public class Socket : Atk.Object {
211                 public weak string embedded_plug_id;
212                 [CCode (type = "AtkObject*", has_construct_function = false)]
213                 public Socket ();
214                 public virtual void embed (string plug_id);
215                 public bool is_occupied ();
216         }
217         [CCode (cheader_filename = "atk/atk.h")]
218         public class StateSet : GLib.Object {
219                 [CCode (has_construct_function = false)]
220                 public StateSet ();
221                 public bool add_state (Atk.StateType type);
222                 public void add_states (Atk.StateType[] types);
223                 public unowned Atk.StateSet and_sets (Atk.StateSet compare_set);
224                 public void clear_states ();
225                 public bool contains_state (Atk.StateType type);
226                 public bool contains_states (Atk.StateType[] types);
227                 public bool is_empty ();
228                 public unowned Atk.StateSet or_sets (Atk.StateSet compare_set);
229                 public bool remove_state (Atk.StateType type);
230                 public unowned Atk.StateSet xor_sets (Atk.StateSet compare_set);
231         }
232         [Compact]
233         [CCode (cheader_filename = "atk/atk.h")]
234         public class TextRange {
235                 public weak Atk.TextRectangle bounds;
236                 public weak string content;
237                 public int end_offset;
238                 public int start_offset;
239         }
240         [Compact]
241         [CCode (cheader_filename = "atk/atk.h")]
242         public class TextRectangle {
243                 public int height;
244                 public int width;
245                 public int x;
246                 public int y;
247         }
248         [CCode (cheader_filename = "atk/atk.h")]
249         public class Util : GLib.Object {
250                 [CCode (has_construct_function = false)]
251                 protected Util ();
252                 [NoWrapper]
253                 public virtual uint add_global_event_listener (GLib.SignalEmissionHook listener, string event_type);
254                 [NoWrapper]
255                 public virtual uint add_key_event_listener (Atk.KeySnoopFunc listener, void* data);
256                 [NoWrapper]
257                 public virtual unowned Atk.Object get_root ();
258                 [NoWrapper]
259                 public virtual unowned string get_toolkit_name ();
260                 [NoWrapper]
261                 public virtual unowned string get_toolkit_version ();
262                 [NoWrapper]
263                 public virtual void remove_global_event_listener (uint listener_id);
264                 [NoWrapper]
265                 public virtual void remove_key_event_listener (uint listener_id);
266         }
267         [CCode (cheader_filename = "atk/atk.h")]
268         public interface Action {
269                 public abstract bool do_action (int i);
270                 public abstract unowned string get_description (int i);
271                 public abstract unowned string get_keybinding (int i);
272                 public abstract unowned string get_localized_name (int i);
273                 public abstract int get_n_actions ();
274                 public abstract unowned string get_name (int i);
275                 public abstract bool set_description (int i, string desc);
276         }
277         [CCode (cheader_filename = "atk/atk.h")]
278         public interface Component {
279                 public abstract uint add_focus_handler (Atk.FocusHandler handler);
280                 public abstract bool contains (int x, int y, Atk.CoordType coord_type);
281                 public abstract double get_alpha ();
282                 public abstract void get_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
283                 public abstract Atk.Layer get_layer ();
284                 public abstract int get_mdi_zorder ();
285                 public abstract void get_position (int x, int y, Atk.CoordType coord_type);
286                 public abstract void get_size (int width, int height);
287                 public abstract bool grab_focus ();
288                 public abstract unowned Atk.Object ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
289                 public abstract void remove_focus_handler (uint handler_id);
290                 public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
291                 public abstract bool set_position (int x, int y, Atk.CoordType coord_type);
292                 public abstract bool set_size (int width, int height);
293                 public signal void bounds_changed (Atk.Rectangle bounds);
294         }
295         [CCode (cheader_filename = "atk/atk.h")]
296         public interface Document {
297                 public unowned string get_attribute_value (string attribute_name);
298                 public unowned Atk.AttributeSet get_attributes ();
299                 public abstract void* get_document ();
300                 [NoWrapper]
301                 public abstract unowned string get_document_attribute_value (string attribute_name);
302                 [NoWrapper]
303                 public abstract unowned Atk.AttributeSet get_document_attributes ();
304                 [NoWrapper]
305                 public abstract unowned string get_document_locale ();
306                 public abstract unowned string get_document_type ();
307                 public unowned string get_locale ();
308                 public bool set_attribute_value (string attribute_name, string attribute_value);
309                 [NoWrapper]
310                 public abstract bool set_document_attribute (string attribute_name, string attribute_value);
311                 public signal void load_complete ();
312                 public signal void load_stopped ();
313                 public signal void reload ();
314         }
315         [CCode (cheader_filename = "atk/atk.h")]
316         public interface EditableText {
317                 public abstract void copy_text (int start_pos, int end_pos);
318                 public abstract void cut_text (int start_pos, int end_pos);
319                 public abstract void delete_text (int start_pos, int end_pos);
320                 public abstract void insert_text (string str, int length, int position);
321                 public abstract void paste_text (int position);
322                 public abstract bool set_run_attributes (Atk.AttributeSet attrib_set, int start_offset, int end_offset);
323                 public abstract void set_text_contents (string str);
324         }
325         [CCode (cheader_filename = "atk/atk.h")]
326         public interface HyperlinkImpl {
327                 public abstract unowned Atk.Hyperlink get_hyperlink ();
328         }
329         [CCode (cheader_filename = "atk/atk.h")]
330         public interface Hypertext {
331                 public abstract unowned Atk.Hyperlink get_link (int link_index);
332                 public abstract int get_link_index (int char_index);
333                 public abstract int get_n_links ();
334                 public signal void link_selected (int link_index);
335         }
336         [CCode (cheader_filename = "atk/atk.h")]
337         public interface Image {
338                 public abstract unowned string get_image_description ();
339                 public abstract unowned string get_image_locale ();
340                 public abstract void get_image_position (int x, int y, Atk.CoordType coord_type);
341                 public abstract void get_image_size (int width, int height);
342                 public abstract bool set_image_description (string description);
343         }
344         [CCode (cheader_filename = "atk/atk.h")]
345         public interface Implementor {
346                 public abstract unowned Atk.Object ref_accessible ();
347         }
348         [CCode (cheader_filename = "atk/atk.h")]
349         public interface Selection {
350                 public abstract bool add_selection (int i);
351                 public abstract bool clear_selection ();
352                 public abstract int get_selection_count ();
353                 public abstract bool is_child_selected (int i);
354                 public abstract unowned Atk.Object ref_selection (int i);
355                 public abstract bool remove_selection (int i);
356                 public abstract bool select_all_selection ();
357                 public signal void selection_changed ();
358         }
359         [CCode (cheader_filename = "atk/atk.h")]
360         public interface StreamableContent {
361                 public abstract unowned string get_mime_type (int i);
362                 public abstract int get_n_mime_types ();
363                 public abstract unowned GLib.IOChannel get_stream (string mime_type);
364                 public abstract unowned string get_uri (string mime_type);
365         }
366         [CCode (cheader_filename = "atk/atk.h")]
367         public interface Table {
368                 public abstract bool add_column_selection (int column);
369                 public abstract bool add_row_selection (int row);
370                 public abstract unowned Atk.Object get_caption ();
371                 public abstract int get_column_at_index (int index_);
372                 public abstract unowned string get_column_description (int column);
373                 public abstract int get_column_extent_at (int row, int column);
374                 public abstract unowned Atk.Object get_column_header (int column);
375                 public abstract int get_index_at (int row, int column);
376                 public abstract int get_n_columns ();
377                 public abstract int get_n_rows ();
378                 public abstract int get_row_at_index (int index_);
379                 public abstract unowned string get_row_description (int row);
380                 public abstract int get_row_extent_at (int row, int column);
381                 public abstract unowned Atk.Object get_row_header (int row);
382                 public abstract int get_selected_columns (int selected);
383                 public abstract int get_selected_rows (int selected);
384                 public abstract unowned Atk.Object get_summary ();
385                 public abstract bool is_column_selected (int column);
386                 public abstract bool is_row_selected (int row);
387                 public abstract bool is_selected (int row, int column);
388                 public abstract unowned Atk.Object ref_at (int row, int column);
389                 public abstract bool remove_column_selection (int column);
390                 public abstract bool remove_row_selection (int row);
391                 public abstract void set_caption (Atk.Object caption);
392                 public abstract void set_column_description (int column, string description);
393                 public abstract void set_column_header (int column, Atk.Object header);
394                 public abstract void set_row_description (int row, string description);
395                 public abstract void set_row_header (int row, Atk.Object header);
396                 public abstract void set_summary (Atk.Object accessible);
397                 public signal void column_deleted (int column, int num_deleted);
398                 public signal void column_inserted (int column, int num_inserted);
399                 public signal void column_reordered ();
400                 public signal void model_changed ();
401                 public signal void row_deleted (int row, int num_deleted);
402                 public signal void row_inserted (int row, int num_inserted);
403                 public signal void row_reordered ();
404         }
405         [CCode (cheader_filename = "atk/atk.h")]
406         public interface Text {
407                 public abstract bool add_selection (int start_offset, int end_offset);
408                 public static Atk.TextAttribute attribute_for_name (string name);
409                 public static unowned string attribute_get_name (Atk.TextAttribute attr);
410                 public static unowned string attribute_get_value (Atk.TextAttribute attr, int index_);
411                 public static Atk.TextAttribute attribute_register (string name);
412                 public static void free_ranges (out unowned Atk.TextRange ranges);
413                 public abstract unowned Atk.TextRange get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
414                 public abstract int get_caret_offset ();
415                 public abstract unichar get_character_at_offset (int offset);
416                 public abstract int get_character_count ();
417                 public abstract void get_character_extents (int offset, int x, int y, int width, int height, Atk.CoordType coords);
418                 public abstract unowned Atk.AttributeSet get_default_attributes ();
419                 public abstract int get_n_selections ();
420                 public abstract int get_offset_at_point (int x, int y, Atk.CoordType coords);
421                 public abstract void get_range_extents (int start_offset, int end_offset, Atk.CoordType coord_type, Atk.TextRectangle rect);
422                 public abstract unowned Atk.AttributeSet get_run_attributes (int offset, int start_offset, int end_offset);
423                 public abstract unowned string get_selection (int selection_num, int start_offset, int end_offset);
424                 public abstract unowned string get_text (int start_offset, int end_offset);
425                 public abstract unowned string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
426                 public abstract unowned string get_text_at_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
427                 public abstract unowned string get_text_before_offset (int offset, Atk.TextBoundary boundary_type, int start_offset, int end_offset);
428                 public abstract bool remove_selection (int selection_num);
429                 public abstract bool set_caret_offset (int offset);
430                 public abstract bool set_selection (int selection_num, int start_offset, int end_offset);
431                 public signal void text_attributes_changed ();
432                 public signal void text_caret_moved (int location);
433                 public signal void text_changed (int position, int length);
434                 public signal void text_selection_changed ();
435         }
436         [CCode (cheader_filename = "atk/atk.h")]
437         public interface Value {
438                 public abstract void get_current_value (GLib.Value value);
439                 public abstract void get_maximum_value (GLib.Value value);
440                 public abstract void get_minimum_increment (GLib.Value value);
441                 public abstract void get_minimum_value (GLib.Value value);
442                 public abstract bool set_current_value (GLib.Value value);
443         }
444         [CCode (type_id = "ATK_TYPE_RECTANGLE", cheader_filename = "atk/atk.h")]
445         public struct Rectangle {
446                 public int x;
447                 public int y;
448                 public int width;
449                 public int height;
450         }
451         [CCode (cheader_filename = "atk/atk.h")]
452         [SimpleType]
453         [IntegerType (rank = 11)]
454         public struct State : uint64 {
455                 public static Atk.StateType type_for_name (string name);
456                 public static unowned string type_get_name (Atk.StateType type);
457                 public static Atk.StateType type_register (string name);
458         }
459         [CCode (cprefix = "ATK_XY_", cheader_filename = "atk/atk.h")]
460         public enum CoordType {
461                 SCREEN,
462                 WINDOW
463         }
464         [CCode (cprefix = "ATK_HYPERLINK_IS_", cheader_filename = "atk/atk.h")]
465         [Flags]
466         public enum HyperlinkStateFlags {
467                 INLINE
468         }
469         [CCode (cprefix = "ATK_KEY_EVENT_", cheader_filename = "atk/atk.h")]
470         public enum KeyEventType {
471                 PRESS,
472                 RELEASE,
473                 LAST_DEFINED
474         }
475         [CCode (cprefix = "ATK_LAYER_", cheader_filename = "atk/atk.h")]
476         public enum Layer {
477                 INVALID,
478                 BACKGROUND,
479                 CANVAS,
480                 WIDGET,
481                 MDI,
482                 POPUP,
483                 OVERLAY,
484                 WINDOW
485         }
486         [CCode (cprefix = "ATK_RELATION_", cheader_filename = "atk/atk.h")]
487         public enum RelationType {
488                 NULL,
489                 CONTROLLED_BY,
490                 CONTROLLER_FOR,
491                 LABEL_FOR,
492                 LABELLED_BY,
493                 MEMBER_OF,
494                 NODE_CHILD_OF,
495                 FLOWS_TO,
496                 FLOWS_FROM,
497                 SUBWINDOW_OF,
498                 EMBEDS,
499                 EMBEDDED_BY,
500                 POPUP_FOR,
501                 PARENT_WINDOW_OF,
502                 DESCRIBED_BY,
503                 DESCRIPTION_FOR,
504                 NODE_PARENT_OF,
505                 LAST_DEFINED
506         }
507         [CCode (cprefix = "ATK_ROLE_", cheader_filename = "atk/atk.h")]
508         public enum Role {
509                 INVALID,
510                 ACCEL_LABEL,
511                 ALERT,
512                 ANIMATION,
513                 ARROW,
514                 CALENDAR,
515                 CANVAS,
516                 CHECK_BOX,
517                 CHECK_MENU_ITEM,
518                 COLOR_CHOOSER,
519                 COLUMN_HEADER,
520                 COMBO_BOX,
521                 DATE_EDITOR,
522                 DESKTOP_ICON,
523                 DESKTOP_FRAME,
524                 DIAL,
525                 DIALOG,
526                 DIRECTORY_PANE,
527                 DRAWING_AREA,
528                 FILE_CHOOSER,
529                 FILLER,
530                 FONT_CHOOSER,
531                 FRAME,
532                 GLASS_PANE,
533                 HTML_CONTAINER,
534                 ICON,
535                 IMAGE,
536                 INTERNAL_FRAME,
537                 LABEL,
538                 LAYERED_PANE,
539                 LIST,
540                 LIST_ITEM,
541                 MENU,
542                 MENU_BAR,
543                 MENU_ITEM,
544                 OPTION_PANE,
545                 PAGE_TAB,
546                 PAGE_TAB_LIST,
547                 PANEL,
548                 PASSWORD_TEXT,
549                 POPUP_MENU,
550                 PROGRESS_BAR,
551                 PUSH_BUTTON,
552                 RADIO_BUTTON,
553                 RADIO_MENU_ITEM,
554                 ROOT_PANE,
555                 ROW_HEADER,
556                 SCROLL_BAR,
557                 SCROLL_PANE,
558                 SEPARATOR,
559                 SLIDER,
560                 SPLIT_PANE,
561                 SPIN_BUTTON,
562                 STATUSBAR,
563                 TABLE,
564                 TABLE_CELL,
565                 TABLE_COLUMN_HEADER,
566                 TABLE_ROW_HEADER,
567                 TEAR_OFF_MENU_ITEM,
568                 TERMINAL,
569                 TEXT,
570                 TOGGLE_BUTTON,
571                 TOOL_BAR,
572                 TOOL_TIP,
573                 TREE,
574                 TREE_TABLE,
575                 UNKNOWN,
576                 VIEWPORT,
577                 WINDOW,
578                 HEADER,
579                 FOOTER,
580                 PARAGRAPH,
581                 RULER,
582                 APPLICATION,
583                 AUTOCOMPLETE,
584                 EDITBAR,
585                 EMBEDDED,
586                 ENTRY,
587                 CHART,
588                 CAPTION,
589                 DOCUMENT_FRAME,
590                 HEADING,
591                 PAGE,
592                 SECTION,
593                 REDUNDANT_OBJECT,
594                 FORM,
595                 LINK,
596                 INPUT_METHOD_WINDOW,
597                 LAST_DEFINED
598         }
599         [CCode (cprefix = "ATK_STATE_", cheader_filename = "atk/atk.h")]
600         public enum StateType {
601                 INVALID,
602                 ACTIVE,
603                 ARMED,
604                 BUSY,
605                 CHECKED,
606                 DEFUNCT,
607                 EDITABLE,
608                 ENABLED,
609                 EXPANDABLE,
610                 EXPANDED,
611                 FOCUSABLE,
612                 FOCUSED,
613                 HORIZONTAL,
614                 ICONIFIED,
615                 MODAL,
616                 MULTI_LINE,
617                 MULTISELECTABLE,
618                 OPAQUE,
619                 PRESSED,
620                 RESIZABLE,
621                 SELECTABLE,
622                 SELECTED,
623                 SENSITIVE,
624                 SHOWING,
625                 SINGLE_LINE,
626                 STALE,
627                 TRANSIENT,
628                 VERTICAL,
629                 VISIBLE,
630                 MANAGES_DESCENDANTS,
631                 INDETERMINATE,
632                 TRUNCATED,
633                 REQUIRED,
634                 INVALID_ENTRY,
635                 SUPPORTS_AUTOCOMPLETION,
636                 SELECTABLE_TEXT,
637                 DEFAULT,
638                 ANIMATED,
639                 VISITED,
640                 LAST_DEFINED
641         }
642         [CCode (cprefix = "ATK_TEXT_ATTR_", cheader_filename = "atk/atk.h")]
643         public enum TextAttribute {
644                 INVALID,
645                 LEFT_MARGIN,
646                 RIGHT_MARGIN,
647                 INDENT,
648                 INVISIBLE,
649                 EDITABLE,
650                 PIXELS_ABOVE_LINES,
651                 PIXELS_BELOW_LINES,
652                 PIXELS_INSIDE_WRAP,
653                 BG_FULL_HEIGHT,
654                 RISE,
655                 UNDERLINE,
656                 STRIKETHROUGH,
657                 SIZE,
658                 SCALE,
659                 WEIGHT,
660                 LANGUAGE,
661                 FAMILY_NAME,
662                 BG_COLOR,
663                 FG_COLOR,
664                 BG_STIPPLE,
665                 FG_STIPPLE,
666                 WRAP_MODE,
667                 DIRECTION,
668                 JUSTIFICATION,
669                 STRETCH,
670                 VARIANT,
671                 STYLE,
672                 LAST_DEFINED
673         }
674         [CCode (cprefix = "ATK_TEXT_BOUNDARY_", cheader_filename = "atk/atk.h")]
675         public enum TextBoundary {
676                 CHAR,
677                 WORD_START,
678                 WORD_END,
679                 SENTENCE_START,
680                 SENTENCE_END,
681                 LINE_START,
682                 LINE_END
683         }
684         [CCode (cprefix = "ATK_TEXT_CLIP_", cheader_filename = "atk/atk.h")]
685         public enum TextClipType {
686                 NONE,
687                 MIN,
688                 MAX,
689                 BOTH
690         }
691         [CCode (cheader_filename = "atk/atk.h", has_target = false)]
692         public delegate void EventListener (Atk.Object obj);
693         [CCode (cheader_filename = "atk/atk.h", has_target = false)]
694         public delegate void EventListenerInit ();
695         [CCode (cheader_filename = "atk/atk.h", has_target = false)]
696         public delegate void FocusHandler (Atk.Object p1, bool p2);
697         [CCode (cheader_filename = "atk/atk.h")]
698         public delegate bool Function ();
699         [CCode (cheader_filename = "atk/atk.h", has_target = false)]
700         public delegate int KeySnoopFunc (Atk.KeyEventStruct event, void* func_data);
701         [CCode (cheader_filename = "atk/atk.h", has_target = false)]
702         public delegate void PropertyChangeHandler (Atk.Object p1, Atk.PropertyValues p2);
703         [CCode (cheader_filename = "atk/atk.h")]
704         public static uint add_focus_tracker (Atk.EventListener focus_tracker);
705         [CCode (cheader_filename = "atk/atk.h")]
706         public static uint add_global_event_listener (GLib.SignalEmissionHook listener, string event_type);
707         [CCode (cheader_filename = "atk/atk.h")]
708         public static uint add_key_event_listener (Atk.KeySnoopFunc listener, void* data);
709         [CCode (cheader_filename = "atk/atk.h")]
710         public static void focus_tracker_init (Atk.EventListenerInit init);
711         [CCode (cheader_filename = "atk/atk.h")]
712         public static void focus_tracker_notify (Atk.Object object);
713         [CCode (cheader_filename = "atk/atk.h")]
714         public static unowned Atk.Registry get_default_registry ();
715         [CCode (cheader_filename = "atk/atk.h")]
716         public static unowned Atk.Object get_focus_object ();
717         [CCode (cheader_filename = "atk/atk.h")]
718         public static unowned Atk.Object get_root ();
719         [CCode (cheader_filename = "atk/atk.h")]
720         public static unowned string get_toolkit_name ();
721         [CCode (cheader_filename = "atk/atk.h")]
722         public static unowned string get_toolkit_version ();
723         [CCode (cheader_filename = "atk/atk.h")]
724         public static unowned string get_version ();
725         [CCode (cheader_filename = "atk/atk.h")]
726         public static void remove_focus_tracker (uint tracker_id);
727         [CCode (cheader_filename = "atk/atk.h")]
728         public static void remove_global_event_listener (uint listener_id);
729         [CCode (cheader_filename = "atk/atk.h")]
730         public static void remove_key_event_listener (uint listener_id);
731         [CCode (cheader_filename = "atk/atk.h")]
732         public static Atk.Role role_for_name (string name);
733         [CCode (cheader_filename = "atk/atk.h")]
734         public static unowned string role_get_localized_name (Atk.Role role);
735         [CCode (cheader_filename = "atk/atk.h")]
736         public static unowned string role_get_name (Atk.Role role);
737         [CCode (cheader_filename = "atk/atk.h")]
738         public static Atk.Role role_register (string name);