1 --- vala-0.24.0/vapi/atk.vapi.orig 2013-12-22 19:40:23.000000000 +0100
2 +++ vala-0.24.0/vapi/atk.vapi 2014-03-29 22:07:46.838336595 +0100
4 public class Misc : GLib.Object {
5 [CCode (has_construct_function = false)]
8 public static unowned Atk.Misc get_instance ();
10 public virtual void threads_enter ();
12 public virtual void threads_leave ();
14 [CCode (cheader_filename = "atk/atk.h", type_id = "atk_no_op_object_get_type ()")]
15 - public class NoOpObject : Atk.Object, Atk.Action, Atk.Component, Atk.Document, Atk.EditableText, Atk.Hypertext, Atk.Image, Atk.Selection, Atk.Table, Atk.Text, Atk.Value, Atk.Window {
16 + public class NoOpObject : Atk.Object, Atk.Action, Atk.Component, Atk.Document, Atk.EditableText, Atk.Hypertext, Atk.Image, Atk.Selection, Atk.Table, Atk.TableCell, Atk.Text, Atk.Value, Atk.Window {
17 [CCode (has_construct_function = false, type = "AtkObject*")]
18 public NoOpObject (GLib.Object obj);
21 [CCode (has_construct_function = false)]
23 public bool add_relationship (Atk.RelationType relationship, Atk.Object target);
25 public virtual uint connect_property_change_handler (Atk.PropertyChangeHandler handler);
26 public virtual Atk.AttributeSet get_attributes ();
27 public virtual unowned string get_description ();
29 public virtual Atk.Role get_role ();
30 public virtual void initialize (void* data);
31 public void notify_state_change (Atk.State state, bool value);
32 + public unowned Atk.Object peek_parent ();
33 public Atk.Object ref_accessible_child (int i);
34 public virtual Atk.RelationSet ref_relation_set ();
35 public virtual Atk.StateSet ref_state_set ();
37 public virtual void remove_property_change_handler (uint handler_id);
38 public bool remove_relationship (Atk.RelationType relationship, Atk.Object target);
39 public virtual void set_description (string description);
41 public Atk.Object accessible_parent { owned get; set; }
43 public int accessible_role { get; set; }
46 public string accessible_table_caption { owned get; set; }
48 public Atk.Object accessible_table_caption_object { owned get; set; }
51 public string accessible_table_column_description { owned get; set; }
54 public Atk.Object accessible_table_column_header { owned get; set; }
57 public string accessible_table_row_description { owned get; set; }
60 public Atk.Object accessible_table_row_header { owned get; set; }
62 public Atk.Object accessible_table_summary { owned get; set; }
65 public double accessible_value { get; set; }
66 public virtual signal void active_descendant_changed (void* child);
69 public virtual string get_object_id ();
71 + [CCode (cheader_filename = "atk/atk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "atk_range_get_type ()")]
73 + public class Range {
74 + [CCode (has_construct_function = false)]
75 + public Range (double lower_limit, double upper_limit, string description);
76 + public Atk.Range copy ();
77 + public void free ();
78 + public unowned string get_description ();
79 + public double get_lower_limit ();
80 + public double get_upper_limit ();
82 [CCode (cheader_filename = "atk/atk.h")]
83 public class Registry : GLib.Object {
86 public abstract void get_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
87 public abstract Atk.Layer get_layer ();
88 public abstract int get_mdi_zorder ();
90 public abstract void get_position (int x, int y, Atk.CoordType coord_type);
92 public abstract void get_size (int width, int height);
93 public abstract bool grab_focus ();
94 public abstract Atk.Object ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
97 [CCode (cheader_filename = "atk/atk.h", type_id = "atk_document_get_type ()")]
98 public interface Document : GLib.Object {
99 - [CCode (vfunc_name = "get_document_attribute_value")]
100 - public virtual unowned string get_attribute_value (string attribute_name);
101 - [CCode (vfunc_name = "get_document_attributes")]
102 - public virtual unowned Atk.AttributeSet get_attributes ();
103 + public unowned string get_attribute_value (string attribute_name);
104 + public unowned Atk.AttributeSet get_attributes ();
105 public virtual int get_current_page_number ();
107 public virtual void* get_document ();
109 + public virtual unowned string get_document_attribute_value (string attribute_name);
110 [Deprecated (replacement = "Document.get_locale", since = "vala-0.22")]
111 public virtual unowned string get_document_locale ();
113 public virtual unowned string get_document_type ();
114 - [CCode (vfunc_name = "get_document_locale")]
116 - public virtual unowned string get_locale ();
117 + public unowned string get_locale ();
118 public virtual int get_page_count ();
119 - [CCode (vfunc_name = "set_document_attribute")]
120 - public virtual bool set_attribute_value (string attribute_name, string attribute_value);
121 + public bool set_attribute_value (string attribute_name, string attribute_value);
123 + public virtual bool set_document_attribute (string attribute_name, string attribute_value);
124 public signal void load_complete ();
125 public signal void load_stopped ();
126 public signal void page_changed (int page_number);
128 public abstract void get_image_size (int width, int height);
129 public abstract bool set_image_description (string description);
131 - [CCode (cheader_filename = "atk/atk.h")]
132 + [CCode (cheader_filename = "atk/atk.h", type_id = "atk_document_get_type ()")]
133 public interface Implementor : GLib.Object {
134 public abstract unowned Atk.Object ref_accessible ();
136 @@ -371,13 +396,16 @@
137 public abstract bool add_column_selection (int column);
138 public abstract bool add_row_selection (int row);
139 public abstract unowned Atk.Object get_caption ();
141 public abstract int get_column_at_index (int index_);
142 public abstract unowned string get_column_description (int column);
143 public abstract int get_column_extent_at (int row, int column);
144 public abstract unowned Atk.Object get_column_header (int column);
146 public abstract int get_index_at (int row, int column);
147 public abstract int get_n_columns ();
148 public abstract int get_n_rows ();
150 public abstract int get_row_at_index (int index_);
151 public abstract unowned string get_row_description (int row);
152 public abstract int get_row_extent_at (int row, int column);
154 public virtual signal void row_inserted (int row, int num_inserted);
155 public virtual signal void row_reordered ();
157 + [CCode (cheader_filename = "atk/atk.h", type_id = "atk_table_cell_get_type ()")]
158 + public interface TableCell : Atk.Object {
159 + public abstract GLib.GenericArray<Atk.Object> get_column_header_cells ();
160 + public abstract int get_column_span ();
161 + public abstract bool get_position (out int row, out int column);
162 + public abstract bool get_row_column_span (out int row, out int column, out int row_span, out int column_span);
163 + public abstract GLib.GenericArray<Atk.Object> get_row_header_cells ();
164 + public abstract int get_row_span ();
165 + public abstract Atk.Object get_table ();
167 [CCode (cheader_filename = "atk/atk.h")]
168 public interface Text : GLib.Object {
169 public abstract bool add_selection (int start_offset, int end_offset);
171 [Deprecated (replacement = "TextAttribute.register", since = "vala-0.16")]
172 public static Atk.TextAttribute attribute_register (string name);
173 public static void free_ranges ([CCode (array_length = false)] Atk.TextRange[] ranges);
174 - [CCode (array_length = false, array_null_terminated = true)]
175 - public virtual Atk.TextRange[] get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
177 + public virtual Atk.TextRange get_bounded_ranges (Atk.TextRectangle rect, Atk.CoordType coord_type, Atk.TextClipType x_clip_type, Atk.TextClipType y_clip_type);
178 public abstract int get_caret_offset ();
179 public abstract unichar get_character_at_offset (int offset);
180 public abstract int get_character_count ();
181 @@ -450,11 +488,22 @@
183 [CCode (cheader_filename = "atk/atk.h", type_id = "atk_value_get_type ()")]
184 public interface Value : GLib.Object {
186 public abstract void get_current_value (GLib.Value value);
187 + public abstract double get_increment ();
189 public abstract void get_maximum_value (GLib.Value value);
191 public abstract void get_minimum_increment (GLib.Value value);
193 public abstract void get_minimum_value (GLib.Value value);
194 + public abstract Atk.Range get_range ();
195 + public abstract GLib.SList<Atk.Range> get_sub_ranges ();
196 + public abstract void get_value_and_text (out double value, out string text);
198 public abstract bool set_current_value (GLib.Value value);
199 + public abstract void set_value (double new_value);
200 + public signal void value_changed (double value, string text);
202 [CCode (cheader_filename = "atk/atk.h", type_id = "atk_window_get_type ()")]
203 public interface Window : Atk.Object {
209 + [CCode (cname = "ATK_ROLE_EDITBAR")]
222 [CCode (cheader_filename = "atk/atk.h")]
223 public static Atk.Role for_name (string name);
225 [CCode (cheader_filename = "atk/atk.h")]
226 public static unowned string get_name (Atk.Role role);
227 [CCode (cheader_filename = "atk/atk.h")]
229 public static Atk.Role register (string name);
231 [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_STATE_", type_id = "atk_state_type_get_type ()")]
236 + [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_VALUE_", type_id = "atk_value_type_get_type ()")]
237 + public enum ValueType {
254 + [CCode (cheader_filename = "atk/atk.h")]
255 + public static unowned string get_localized_name (Atk.ValueType value_type);
256 + [CCode (cheader_filename = "atk/atk.h")]
257 + public static unowned string get_name (Atk.ValueType value_type);
259 [CCode (cheader_filename = "atk/atk.h", has_target = false)]
260 public delegate void EventListener (Atk.Object obj);
261 [CCode (cheader_filename = "atk/atk.h", has_target = false)]