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