atk 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/Rakefile +12 -1
  2. data/lib/1.8/atk.so +0 -0
  3. data/lib/1.9/atk.so +0 -0
  4. data/vendor/local/bin/libatk-1.0-0.dll +0 -0
  5. data/vendor/local/include/atk-1.0/atk/atk.h +1 -0
  6. data/vendor/local/include/atk-1.0/atk/atkaction.h +8 -8
  7. data/vendor/local/include/atk-1.0/atk/atkdocument.h +6 -6
  8. data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +1 -0
  9. data/vendor/local/include/atk-1.0/atk/atkimage.h +4 -4
  10. data/vendor/local/include/atk-1.0/atk/atkmisc.h +24 -1
  11. data/vendor/local/include/atk-1.0/atk/atkobject.h +35 -7
  12. data/vendor/local/include/atk-1.0/atk/atkrelation.h +1 -1
  13. data/vendor/local/include/atk-1.0/atk/atkrelationset.h +3 -0
  14. data/vendor/local/include/atk-1.0/atk/atkstate.h +1 -1
  15. data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +6 -6
  16. data/vendor/local/include/atk-1.0/atk/atktable.h +5 -8
  17. data/vendor/local/include/atk-1.0/atk/atktext.h +4 -2
  18. data/vendor/local/include/atk-1.0/atk/atkutil.h +75 -66
  19. data/vendor/local/include/atk-1.0/atk/atkwindow.h +54 -0
  20. data/vendor/local/lib/atk-1.0.def +2 -0
  21. data/vendor/local/lib/libatk-1.0.dll.a +0 -0
  22. data/vendor/local/lib/libatk-1.0.la +41 -0
  23. data/vendor/local/lib/pkgconfig/atk.pc +1 -1
  24. data/vendor/local/share/gtk-doc/html/atk/AtkAction.html +330 -0
  25. data/vendor/local/share/gtk-doc/html/atk/AtkComponent.html +639 -0
  26. data/vendor/local/share/gtk-doc/html/atk/AtkDocument.html +343 -0
  27. data/vendor/local/share/gtk-doc/html/atk/AtkEditableText.html +328 -0
  28. data/vendor/local/share/gtk-doc/html/atk/AtkGObjectAccessible.html +128 -0
  29. data/vendor/local/share/gtk-doc/html/atk/AtkHyperlink.html +400 -0
  30. data/vendor/local/share/gtk-doc/html/atk/AtkHypertext.html +215 -0
  31. data/vendor/local/share/gtk-doc/html/atk/AtkImage.html +238 -0
  32. data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObject.html +109 -0
  33. data/vendor/local/share/gtk-doc/html/atk/AtkNoOpObjectFactory.html +94 -0
  34. data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +1960 -0
  35. data/vendor/local/share/gtk-doc/html/atk/AtkObjectFactory.html +166 -0
  36. data/vendor/local/share/gtk-doc/html/atk/AtkRegistry.html +201 -0
  37. data/vendor/local/share/gtk-doc/html/atk/AtkRelation.html +443 -0
  38. data/vendor/local/share/gtk-doc/html/atk/AtkRelationSet.html +313 -0
  39. data/vendor/local/share/gtk-doc/html/atk/AtkSelection.html +330 -0
  40. data/vendor/local/share/gtk-doc/html/atk/AtkStateSet.html +395 -0
  41. data/vendor/local/share/gtk-doc/html/atk/AtkStreamableContent.html +213 -0
  42. data/vendor/local/share/gtk-doc/html/atk/AtkTable.html +1210 -0
  43. data/vendor/local/share/gtk-doc/html/atk/AtkText.html +1745 -0
  44. data/vendor/local/share/gtk-doc/html/atk/AtkUtil.html +743 -0
  45. data/vendor/local/share/gtk-doc/html/atk/AtkValue.html +216 -0
  46. data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +51 -0
  47. data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +31 -0
  48. data/vendor/local/share/gtk-doc/html/atk/api-index-1-18.html +31 -0
  49. data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +35 -0
  50. data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +45 -0
  51. data/vendor/local/share/gtk-doc/html/atk/api-index-1-24.html +31 -0
  52. data/vendor/local/share/gtk-doc/html/atk/api-index-1-26.html +31 -0
  53. data/vendor/local/share/gtk-doc/html/atk/api-index-1-28.html +31 -0
  54. data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +41 -0
  55. data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +39 -0
  56. data/vendor/local/share/gtk-doc/html/atk/api-index-1-32.html +30 -0
  57. data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +35 -0
  58. data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +35 -0
  59. data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +41 -0
  60. data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +651 -0
  61. data/vendor/local/share/gtk-doc/html/atk/atk-AtkHyperlinkImpl.html +107 -0
  62. data/vendor/local/share/gtk-doc/html/atk/atk-AtkPlug.html +81 -0
  63. data/vendor/local/share/gtk-doc/html/atk/atk-AtkSocket.html +130 -0
  64. data/vendor/local/share/gtk-doc/html/atk/atk-AtkState.html +430 -0
  65. data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +573 -0
  66. data/vendor/local/share/gtk-doc/html/atk/atk.html +121 -0
  67. data/vendor/local/share/gtk-doc/html/atk/home.png +0 -0
  68. data/vendor/local/share/gtk-doc/html/atk/index.html +136 -0
  69. data/vendor/local/share/gtk-doc/html/atk/index.sgml +688 -0
  70. data/vendor/local/share/gtk-doc/html/atk/left.png +0 -0
  71. data/vendor/local/share/gtk-doc/html/atk/right.png +0 -0
  72. data/vendor/local/share/gtk-doc/html/atk/style.css +266 -0
  73. data/vendor/local/share/gtk-doc/html/atk/up.png +0 -0
  74. data/vendor/local/share/license/atk/AUTHORS +5 -0
  75. data/vendor/local/share/license/atk/COPYING +482 -0
  76. data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
  77. data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
  78. data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
  79. data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
  80. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
  81. data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
  82. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
  83. data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
  84. data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
  85. data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
  86. data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
  87. data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
  88. data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
  89. data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
  90. data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
  91. data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
  92. data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
  93. data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
  94. data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
  95. data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
  96. data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
  97. data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
  98. data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
  99. data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
  100. data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
  101. data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
  102. data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
  103. data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
  104. data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
  105. data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
  106. data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
  107. data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
  108. data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
  109. data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
  110. data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
  111. data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
  112. data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
  113. data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
  114. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
  115. data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
  116. data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
  117. data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
  118. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
  119. data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
  120. data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
  121. data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
  122. data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
  123. data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
  124. data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
  125. data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
  126. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
  127. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
  128. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
  129. data/vendor/local/share/locale/zu/LC_MESSAGES/atk10.mo +0 -0
  130. metadata +65 -14
  131. data/vendor/local/lib/atk-1.0.lib +0 -0
  132. data/vendor/local/manifest/atk-dev_1.32.0-2_win32.mft +0 -37
  133. data/vendor/local/manifest/atk_1.32.0-2_win32.mft +0 -95
  134. data/vendor/local/src/dieterv/packaging/atk_1.32.0-2_win32.log +0 -740
  135. data/vendor/local/src/dieterv/packaging/atk_1.32.0-2_win32.sh +0 -76
data/Rakefile CHANGED
@@ -7,8 +7,19 @@ package = GNOME2Package.new do |_package|
7
7
  _package.summary = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
8
8
  _package.description = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
9
9
  _package.dependency.gem.runtime = ["glib2"]
10
- _package.win32.packages = ["atk"]
10
+ _package.win32.packages = []
11
11
  _package.win32.dependencies = []
12
+ _package.win32.build_dependencies = ["glib2"]
13
+ _package.win32.build_packages = [
14
+ {
15
+ :name => "atk",
16
+ :download_site => :gnome,
17
+ :label => "atk",
18
+ :version => "2.6.0",
19
+ :configure_args => [],
20
+ :compression_method => "xz",
21
+ }
22
+ ]
12
23
  end
13
24
  package.define_tasks
14
25
 
Binary file
Binary file
@@ -50,6 +50,7 @@
50
50
  #include <atk/atkutil.h>
51
51
  #include <atk/atkmisc.h>
52
52
  #include <atk/atkvalue.h>
53
+ #include <atk/atkwindow.h>
53
54
 
54
55
  #undef __ATK_H_INSIDE__
55
56
 
@@ -55,16 +55,16 @@ struct _AtkActionIface
55
55
  gboolean (*do_action) (AtkAction *action,
56
56
  gint i);
57
57
  gint (*get_n_actions) (AtkAction *action);
58
- G_CONST_RETURN gchar* (*get_description) (AtkAction *action,
58
+ const gchar* (*get_description) (AtkAction *action,
59
59
  gint i);
60
- G_CONST_RETURN gchar* (*get_name) (AtkAction *action,
60
+ const gchar* (*get_name) (AtkAction *action,
61
61
  gint i);
62
- G_CONST_RETURN gchar* (*get_keybinding) (AtkAction *action,
62
+ const gchar* (*get_keybinding) (AtkAction *action,
63
63
  gint i);
64
64
  gboolean (*set_description) (AtkAction *action,
65
65
  gint i,
66
66
  const gchar *desc);
67
- G_CONST_RETURN gchar* (*get_localized_name)(AtkAction *action,
67
+ const gchar* (*get_localized_name)(AtkAction *action,
68
68
  gint i);
69
69
  AtkFunction pad2;
70
70
  };
@@ -85,11 +85,11 @@ GType atk_action_get_type (void);
85
85
  gboolean atk_action_do_action (AtkAction *action,
86
86
  gint i);
87
87
  gint atk_action_get_n_actions (AtkAction *action);
88
- G_CONST_RETURN gchar* atk_action_get_description (AtkAction *action,
88
+ const gchar* atk_action_get_description (AtkAction *action,
89
89
  gint i);
90
- G_CONST_RETURN gchar* atk_action_get_name (AtkAction *action,
90
+ const gchar* atk_action_get_name (AtkAction *action,
91
91
  gint i);
92
- G_CONST_RETURN gchar* atk_action_get_keybinding (AtkAction *action,
92
+ const gchar* atk_action_get_keybinding (AtkAction *action,
93
93
  gint i);
94
94
  gboolean atk_action_set_description (AtkAction *action,
95
95
  gint i,
@@ -97,7 +97,7 @@ gboolean atk_action_set_description (AtkAction *action,
97
97
 
98
98
  /* NEW in ATK 1.1: */
99
99
 
100
- G_CONST_RETURN gchar* atk_action_get_localized_name (AtkAction *action,
100
+ const gchar* atk_action_get_localized_name (AtkAction *action,
101
101
  gint i);
102
102
 
103
103
  /*
@@ -49,12 +49,12 @@ typedef struct _AtkDocumentIface AtkDocumentIface;
49
49
  struct _AtkDocumentIface
50
50
  {
51
51
  GTypeInterface parent;
52
- G_CONST_RETURN gchar* ( *get_document_type) (AtkDocument *document);
52
+ const gchar* ( *get_document_type) (AtkDocument *document);
53
53
  gpointer ( *get_document) (AtkDocument *document);
54
54
 
55
- G_CONST_RETURN gchar* ( *get_document_locale) (AtkDocument *document);
55
+ const gchar* ( *get_document_locale) (AtkDocument *document);
56
56
  AtkAttributeSet * ( *get_document_attributes) (AtkDocument *document);
57
- G_CONST_RETURN gchar* ( *get_document_attribute_value) (AtkDocument *document,
57
+ const gchar* ( *get_document_attribute_value) (AtkDocument *document,
58
58
  const gchar *attribute_name);
59
59
  gboolean ( *set_document_attribute) (AtkDocument *document,
60
60
  const gchar *attribute_name,
@@ -68,11 +68,11 @@ struct _AtkDocumentIface
68
68
 
69
69
  GType atk_document_get_type (void);
70
70
 
71
- G_CONST_RETURN gchar* atk_document_get_document_type (AtkDocument *document);
71
+ const gchar* atk_document_get_document_type (AtkDocument *document);
72
72
  gpointer atk_document_get_document (AtkDocument *document);
73
- G_CONST_RETURN gchar* atk_document_get_locale (AtkDocument *document);
73
+ const gchar* atk_document_get_locale (AtkDocument *document);
74
74
  AtkAttributeSet* atk_document_get_attributes (AtkDocument *document);
75
- G_CONST_RETURN gchar* atk_document_get_attribute_value (AtkDocument *document,
75
+ const gchar* atk_document_get_attribute_value (AtkDocument *document,
76
76
  const gchar *attribute_name);
77
77
  gboolean atk_document_set_attribute_value (AtkDocument *document,
78
78
  const gchar *attribute_name,
@@ -98,6 +98,7 @@ gboolean atk_hyperlink_is_inline (AtkHyperlink *link_);
98
98
 
99
99
  gint atk_hyperlink_get_n_anchors (AtkHyperlink *link_);
100
100
  #ifndef ATK_DISABLE_DEPRECATED
101
+ G_DEPRECATED
101
102
  gboolean atk_hyperlink_is_selected_link (AtkHyperlink *link_);
102
103
  #endif /* ATK_DISABLE_DEPRECATED */
103
104
 
@@ -53,13 +53,13 @@ struct _AtkImageIface
53
53
  gint *x,
54
54
  gint *y,
55
55
  AtkCoordType coord_type);
56
- G_CONST_RETURN gchar* ( *get_image_description) (AtkImage *image);
56
+ const gchar* ( *get_image_description) (AtkImage *image);
57
57
  void ( *get_image_size) (AtkImage *image,
58
58
  gint *width,
59
59
  gint *height);
60
60
  gboolean ( *set_image_description) (AtkImage *image,
61
61
  const gchar *description);
62
- G_CONST_RETURN gchar* ( *get_image_locale) (AtkImage *image);
62
+ const gchar* ( *get_image_locale) (AtkImage *image);
63
63
 
64
64
  AtkFunction pad1;
65
65
 
@@ -67,7 +67,7 @@ struct _AtkImageIface
67
67
 
68
68
  GType atk_image_get_type (void);
69
69
 
70
- G_CONST_RETURN gchar* atk_image_get_image_description (AtkImage *image);
70
+ const gchar* atk_image_get_image_description (AtkImage *image);
71
71
 
72
72
  void atk_image_get_image_size (AtkImage *image,
73
73
  gint *width,
@@ -80,7 +80,7 @@ void atk_image_get_image_position (AtkImage *image,
80
80
  gint *y,
81
81
  AtkCoordType coord_type);
82
82
 
83
- G_CONST_RETURN gchar* atk_image_get_image_locale (AtkImage *image);
83
+ const gchar* atk_image_get_image_locale (AtkImage *image);
84
84
 
85
85
  G_END_DECLS
86
86
 
@@ -26,6 +26,29 @@
26
26
 
27
27
  #include <glib-object.h>
28
28
 
29
+ /* We prefix variable declarations so they can
30
+ * properly get exported in Windows DLLs.
31
+ */
32
+ #ifndef ATK_VAR
33
+ # ifdef G_PLATFORM_WIN32
34
+ # ifdef ATK_STATIC_COMPILATION
35
+ # define ATK_VAR extern
36
+ # else /* !ATK_STATIC_COMPILATION */
37
+ # ifdef ATK_COMPILATION
38
+ # ifdef DLL_EXPORT
39
+ # define ATK_VAR __declspec(dllexport)
40
+ # else /* !DLL_EXPORT */
41
+ # define ATK_VAR extern
42
+ # endif /* !DLL_EXPORT */
43
+ # else /* !ATK_COMPILATION */
44
+ # define ATK_VAR extern __declspec(dllimport)
45
+ # endif /* !ATK_COMPILATION */
46
+ # endif /* !ATK_STATIC_COMPILATION */
47
+ # else /* !G_PLATFORM_WIN32 */
48
+ # define ATK_VAR extern
49
+ # endif /* !G_PLATFORM_WIN32 */
50
+ #endif /* ATK_VAR */
51
+
29
52
  G_BEGIN_DECLS
30
53
 
31
54
  #define ATK_TYPE_MISC (atk_misc_get_type ())
@@ -52,7 +75,7 @@ struct _AtkMisc
52
75
  * a given GUI toolkit/application instance should touch this
53
76
  * symbol directly.
54
77
  */
55
- extern AtkMisc *atk_misc_instance;
78
+ ATK_VAR AtkMisc *atk_misc_instance;
56
79
 
57
80
  struct _AtkMiscClass
58
81
  {
@@ -53,7 +53,7 @@ G_BEGIN_DECLS
53
53
  *@ATK_ROLE_CHECK_MENU_ITEM: A menu item with a check box
54
54
  *@ATK_ROLE_COLOR_CHOOSER: A specialized dialog that lets the user choose a color
55
55
  *@ATK_ROLE_COLUMN_HEADER: The header for a column of data
56
- *@ATK_ROLE_COMBO_BOX: A list of choices the user can select from
56
+ *@ATK_ROLE_COMBO_BOX: A collapsible list of choices the user can select from
57
57
  *@ATK_ROLE_DATE_EDITOR: An object whose purpose is to allow a user to edit a date
58
58
  *@ATK_ROLE_DESKTOP_ICON: An inconifed internal frame within a DESKTOP_PANE
59
59
  *@ATK_ROLE_DESKTOP_FRAME: A pane that supports internal frames and iconified versions of those internal frames
@@ -139,6 +139,19 @@ G_BEGIN_DECLS
139
139
  *@ATK_ROLE_INPUT_METHOD_WINDOW: The object is a window or similar viewport
140
140
  * which is used to allow composition or input of a 'complex character',
141
141
  * in other words it is an "input method window." @Since: ATK-1.12.1
142
+ *@ATK_ROLE_TABLE_ROW: A row in a table. @Since: ATK-2.1.0
143
+ *@ATK_ROLE_TREE_ITEM: An object that represents an element of a tree. @Since: ATK-2.1.0
144
+ *@ATK_ROLE_DOCUMENT_SPREADSHEET: A document frame which contains a spreadsheet. @Since: ATK-2.1.0
145
+ *@ATK_ROLE_DOCUMENT_PRESENTATION: A document frame which contains a presentation or slide content. @Since: ATK-2.1.0
146
+ *@ATK_ROLE_DOCUMENT_TEXT: A document frame which contains textual content, such as found in a word processing application. @Since: ATK-2.1.0
147
+ *@ATK_ROLE_DOCUMENT_WEB: A document frame which contains HTML or other markup suitable for display in a web browser. @Since: ATK-2.1.0
148
+ *@ATK_ROLE_DOCUMENT_EMAIL: A document frame which contains email content to be displayed or composed either in plain text or HTML. @Since: ATK-2.1.0
149
+ *@ATK_ROLE_COMMENT: An object found within a document and designed to present a comment, note, or other annotation. In some cases, this object might not be visible until activated. @Since: ATK-2.1.0
150
+ *@ATK_ROLE_LIST_BOX: A non-collapsible list of choices the user can select from. @Since: ATK-2.1.0
151
+ *@ATK_ROLE_GROUPING: A group of related widgets. This group typically has a label. @Since: ATK-2.1.0
152
+ *@ATK_ROLE_IMAGE_MAP: An image map object. Usually a graphic with multiple hotspots, where each hotspot can be activated resulting in the loading of another document or section of a document. @Since: ATK-2.1.0
153
+ *@ATK_ROLE_NOTIFICATION: A transitory object designed to present a message to the user, typically at the desktop level rather than inside a particular application. @Since: ATK-2.1.0
154
+ *@ATK_ROLE_INFO_BAR: An object designed to present a message to the user within an existing window. @Since: ATK-2.1.0
142
155
  *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration
143
156
  *
144
157
  * Describes the role of an object
@@ -237,6 +250,19 @@ typedef enum
237
250
  ATK_ROLE_FORM,
238
251
  ATK_ROLE_LINK,
239
252
  ATK_ROLE_INPUT_METHOD_WINDOW,
253
+ ATK_ROLE_TABLE_ROW,
254
+ ATK_ROLE_TREE_ITEM,
255
+ ATK_ROLE_DOCUMENT_SPREADSHEET,
256
+ ATK_ROLE_DOCUMENT_PRESENTATION,
257
+ ATK_ROLE_DOCUMENT_TEXT,
258
+ ATK_ROLE_DOCUMENT_WEB,
259
+ ATK_ROLE_DOCUMENT_EMAIL,
260
+ ATK_ROLE_COMMENT,
261
+ ATK_ROLE_LIST_BOX,
262
+ ATK_ROLE_GROUPING,
263
+ ATK_ROLE_IMAGE_MAP,
264
+ ATK_ROLE_NOTIFICATION,
265
+ ATK_ROLE_INFO_BAR,
240
266
  ATK_ROLE_LAST_DEFINED
241
267
  } AtkRole;
242
268
 
@@ -381,11 +407,11 @@ struct _AtkObjectClass
381
407
  /*
382
408
  * Gets the accessible name of the object
383
409
  */
384
- G_CONST_RETURN gchar* (* get_name) (AtkObject *accessible);
410
+ const gchar* (* get_name) (AtkObject *accessible);
385
411
  /*
386
412
  * Gets the accessible description of the object
387
413
  */
388
- G_CONST_RETURN gchar* (* get_description) (AtkObject *accessible);
414
+ const gchar* (* get_description) (AtkObject *accessible);
389
415
  /*
390
416
  * Gets the accessible parent of the object
391
417
  */
@@ -535,8 +561,8 @@ AtkObject* atk_implementor_ref_accessible (AtkImplemento
535
561
  * Properties directly supported by AtkObject
536
562
  */
537
563
 
538
- G_CONST_RETURN gchar* atk_object_get_name (AtkObject *accessible);
539
- G_CONST_RETURN gchar* atk_object_get_description (AtkObject *accessible);
564
+ const gchar* atk_object_get_name (AtkObject *accessible);
565
+ const gchar* atk_object_get_description (AtkObject *accessible);
540
566
  AtkObject* atk_object_get_parent (AtkObject *accessible);
541
567
  gint atk_object_get_n_accessible_children (AtkObject *accessible);
542
568
  AtkObject* atk_object_ref_accessible_child (AtkObject *accessible,
@@ -544,7 +570,9 @@ AtkObject* atk_object_ref_accessible_child (AtkObject *ac
544
570
  AtkRelationSet* atk_object_ref_relation_set (AtkObject *accessible);
545
571
  AtkRole atk_object_get_role (AtkObject *accessible);
546
572
  #ifndef ATK_DISABLE_DEPRECATED
573
+ G_DEPRECATED_FOR(atk_component_get_layer)
547
574
  AtkLayer atk_object_get_layer (AtkObject *accessible);
575
+ G_DEPRECATED_FOR(atk_component_get_mdi_zorder)
548
576
  gint atk_object_get_mdi_zorder (AtkObject *accessible);
549
577
  #endif /* ATK_DISABLE_DEPRECATED */
550
578
  AtkAttributeSet* atk_object_get_attributes (AtkObject *accessible);
@@ -571,7 +599,7 @@ void atk_object_notify_state_change (AtkObject
571
599
  void atk_object_initialize (AtkObject *accessible,
572
600
  gpointer data);
573
601
 
574
- G_CONST_RETURN gchar* atk_role_get_name (AtkRole role);
602
+ const gchar* atk_role_get_name (AtkRole role);
575
603
  AtkRole atk_role_for_name (const gchar *name);
576
604
 
577
605
 
@@ -582,7 +610,7 @@ gboolean atk_object_add_relationship (AtkObject *
582
610
  gboolean atk_object_remove_relationship (AtkObject *object,
583
611
  AtkRelationType relationship,
584
612
  AtkObject *target);
585
- G_CONST_RETURN gchar* atk_role_get_localized_name (AtkRole role);
613
+ const gchar* atk_role_get_localized_name (AtkRole role);
586
614
 
587
615
  /* */
588
616
 
@@ -61,7 +61,7 @@ struct _AtkRelationClass
61
61
  GType atk_relation_get_type (void);
62
62
 
63
63
  AtkRelationType atk_relation_type_register (const gchar *name);
64
- G_CONST_RETURN gchar* atk_relation_type_get_name (AtkRelationType type);
64
+ const gchar* atk_relation_type_get_name (AtkRelationType type);
65
65
  AtkRelationType atk_relation_type_for_name (const gchar *name);
66
66
 
67
67
  /*
@@ -60,6 +60,9 @@ GType atk_relation_set_get_type (void);
60
60
  AtkRelationSet* atk_relation_set_new (void);
61
61
  gboolean atk_relation_set_contains (AtkRelationSet *set,
62
62
  AtkRelationType relationship);
63
+ gboolean atk_relation_set_contains_target (AtkRelationSet *set,
64
+ AtkRelationType relationship,
65
+ AtkObject *targe);
63
66
  void atk_relation_set_remove (AtkRelationSet *set,
64
67
  AtkRelation *relation);
65
68
  void atk_relation_set_add (AtkRelationSet *set,
@@ -170,7 +170,7 @@ typedef guint64 AtkState;
170
170
 
171
171
  AtkStateType atk_state_type_register (const gchar *name);
172
172
 
173
- G_CONST_RETURN gchar* atk_state_type_get_name (AtkStateType type);
173
+ const gchar* atk_state_type_get_name (AtkStateType type);
174
174
  AtkStateType atk_state_type_for_name (const gchar *name);
175
175
 
176
176
  G_END_DECLS
@@ -54,11 +54,11 @@ struct _AtkStreamableContentIface
54
54
  * at index 0 should be considered the "default" data type for the stream.
55
55
  *
56
56
  * This assumes that the strings for the mime types are stored in the
57
- * AtkStreamableContent. Alternatively the G_CONST_RETURN could be removed
57
+ * AtkStreamableContent. Alternatively the const could be removed
58
58
  * and the caller would be responsible for calling g_free() on the
59
59
  * returned value.
60
60
  */
61
- G_CONST_RETURN gchar* (* get_mime_type) (AtkStreamableContent *streamable,
61
+ const gchar* (* get_mime_type) (AtkStreamableContent *streamable,
62
62
  gint i);
63
63
  /*
64
64
  * One possible implementation for this method is that it constructs the
@@ -80,7 +80,7 @@ struct _AtkStreamableContentIface
80
80
  * constructed. Note that it is possible for get_uri to return NULL but for
81
81
  * get_stream to work nonetheless, since not all GIOChannels connect to URIs.
82
82
  */
83
- G_CONST_RETURN gchar* (* get_uri) (AtkStreamableContent *streamable,
83
+ const gchar* (* get_uri) (AtkStreamableContent *streamable,
84
84
  const gchar *mime_type);
85
85
 
86
86
 
@@ -92,13 +92,13 @@ GType atk_streamable_content_get_type (void);
92
92
 
93
93
  gint atk_streamable_content_get_n_mime_types (AtkStreamableContent *streamable);
94
94
 
95
- G_CONST_RETURN gchar* atk_streamable_content_get_mime_type (AtkStreamableContent *streamable,
95
+ const gchar* atk_streamable_content_get_mime_type (AtkStreamableContent *streamable,
96
96
  gint i);
97
97
  GIOChannel* atk_streamable_content_get_stream (AtkStreamableContent *streamable,
98
98
  const gchar *mime_type);
99
99
 
100
- gchar* atk_streamable_content_get_uri (AtkStreamableContent *streamable,
101
- const gchar *mime_type);
100
+ const gchar* atk_streamable_content_get_uri (AtkStreamableContent *streamable,
101
+ const gchar *mime_type);
102
102
 
103
103
  G_END_DECLS
104
104
 
@@ -69,13 +69,11 @@ struct _AtkTableIface
69
69
  gint column);
70
70
  AtkObject*
71
71
  (* get_caption) (AtkTable *table);
72
- G_CONST_RETURN gchar*
73
- (* get_column_description) (AtkTable *table,
72
+ const gchar* (* get_column_description) (AtkTable *table,
74
73
  gint column);
75
74
  AtkObject* (* get_column_header) (AtkTable *table,
76
75
  gint column);
77
- G_CONST_RETURN gchar*
78
- (* get_row_description) (AtkTable *table,
76
+ const gchar* (* get_row_description) (AtkTable *table,
79
77
  gint row);
80
78
  AtkObject* (* get_row_header) (AtkTable *table,
81
79
  gint row);
@@ -163,13 +161,12 @@ gint atk_table_get_row_extent_at (AtkTable *table,
163
161
  gint column);
164
162
  AtkObject*
165
163
  atk_table_get_caption (AtkTable *table);
166
- G_CONST_RETURN gchar*
167
- atk_table_get_column_description (AtkTable *table,
164
+ const gchar* atk_table_get_column_description
165
+ (AtkTable *table,
168
166
  gint column);
169
167
  AtkObject* atk_table_get_column_header (AtkTable *table,
170
168
  gint column);
171
- G_CONST_RETURN gchar*
172
- atk_table_get_row_description (AtkTable *table,
169
+ const gchar* atk_table_get_row_description (AtkTable *table,
173
170
  gint row);
174
171
  AtkObject* atk_table_get_row_header (AtkTable *table,
175
172
  gint row);
@@ -174,6 +174,8 @@ struct _AtkTextRange {
174
174
  gchar* content;
175
175
  };
176
176
 
177
+ GType atk_text_range_get_type (void);
178
+
177
179
  /**
178
180
  *AtkTextClipType
179
181
  *@ATK_TEXT_CLIP_NONE: No clipping to be done
@@ -355,9 +357,9 @@ AtkTextRange** atk_text_get_bounded_ranges (AtkText *tex
355
357
  AtkTextClipType y_clip_type);
356
358
  void atk_text_free_ranges (AtkTextRange **ranges);
357
359
  void atk_attribute_set_free (AtkAttributeSet *attrib_set);
358
- G_CONST_RETURN gchar* atk_text_attribute_get_name (AtkTextAttribute attr);
360
+ const gchar* atk_text_attribute_get_name (AtkTextAttribute attr);
359
361
  AtkTextAttribute atk_text_attribute_for_name (const gchar *name);
360
- G_CONST_RETURN gchar* atk_text_attribute_get_value (AtkTextAttribute attr,
362
+ const gchar* atk_text_attribute_get_value (AtkTextAttribute attr,
361
363
  gint index_);
362
364
 
363
365
  G_END_DECLS
@@ -54,7 +54,7 @@ typedef struct _AtkKeyEventStruct AtkKeyEventStruct;
54
54
  * supported are events of type "focus:". Most clients of ATK will prefer to
55
55
  * attach signal handlers for the various ATK signals instead.
56
56
  *
57
- * @see: atk_add_focus_tracker.
57
+ * see atk_add_focus_tracker.
58
58
  **/
59
59
  typedef void (*AtkEventListener) (AtkObject* obj);
60
60
  /**
@@ -64,7 +64,7 @@ typedef void (*AtkEventListener) (AtkObject* obj);
64
64
  * called in order to initialize the per-object event registration system
65
65
  * used by #AtkEventListener, if any preparation is required.
66
66
  *
67
- * @see: atk_focus_tracker_init.
67
+ * see atk_focus_tracker_init.
68
68
  **/
69
69
  typedef void (*AtkEventListenerInit) (void);
70
70
  /**
@@ -81,7 +81,7 @@ typedef void (*AtkEventListenerInit) (void);
81
81
  * discarded without being passed to the normal GUI recipient; FALSE (zero) if the
82
82
  * event dispatch to the client application should proceed as normal.
83
83
  *
84
- * @see: atk_add_key_event_listener.
84
+ * see atk_add_key_event_listener.
85
85
  **/
86
86
  typedef gint (*AtkKeySnoopFunc) (AtkKeyEventStruct *event,
87
87
  gpointer func_data);
@@ -147,8 +147,8 @@ struct _AtkUtilClass
147
147
  gpointer data);
148
148
  void (* remove_key_event_listener) (guint listener_id);
149
149
  AtkObject* (* get_root) (void);
150
- G_CONST_RETURN gchar* (* get_toolkit_name) (void);
151
- G_CONST_RETURN gchar* (* get_toolkit_version) (void);
150
+ const gchar* (* get_toolkit_name) (void);
151
+ const gchar* (* get_toolkit_version) (void);
152
152
  };
153
153
  GType atk_util_get_type (void);
154
154
 
@@ -166,80 +166,22 @@ typedef enum {
166
166
  ATK_XY_WINDOW
167
167
  }AtkCoordType;
168
168
 
169
- /*
170
- * Adds the specified function to the list of functions to be called
171
- * when an object receives focus.
172
- */
173
169
  guint atk_add_focus_tracker (AtkEventListener focus_tracker);
174
-
175
- /*
176
- * Removes the specified focus tracker from the list of function
177
- * to be called when any object receives focus
178
- */
179
170
  void atk_remove_focus_tracker (guint tracker_id);
180
-
181
- /*
182
- * atk_focus_tracker_init:
183
- * @init: An #AtkEventListenerInit function to be called
184
- * prior to any focus-tracking requests.
185
- *
186
- * Specifies the function to be called for focus tracker initialization.
187
- * removal. This function should be called by an implementation of the
188
- * ATK interface if any specific work needs to be done to enable
189
- * focus tracking.
190
- */
191
171
  void atk_focus_tracker_init (AtkEventListenerInit init);
192
-
193
- /*
194
- * Cause the focus tracker functions which have been specified to be
195
- * executed for the object.
196
- */
197
172
  void atk_focus_tracker_notify (AtkObject *object);
198
-
199
- /*
200
- * Adds the specified function to the list of functions to be called
201
- * when an event of type event_type occurs.
202
- */
203
173
  guint atk_add_global_event_listener (GSignalEmissionHook listener,
204
174
  const gchar *event_type);
205
-
206
- /*
207
- * Removes the specified event listener
208
- */
209
175
  void atk_remove_global_event_listener (guint listener_id);
210
-
211
- /*
212
- * Adds the specified function to the list of functions to be called
213
- * when an keyboard event occurs.
214
- */
215
176
  guint atk_add_key_event_listener (AtkKeySnoopFunc listener, gpointer data);
216
-
217
- /*
218
- * Removes the specified event listener
219
- */
220
177
  void atk_remove_key_event_listener (guint listener_id);
221
178
 
222
- /*
223
- * Returns the root accessible container for the current application.
224
- */
225
179
  AtkObject* atk_get_root(void);
226
-
227
180
  AtkObject* atk_get_focus_object (void);
228
181
 
229
- /*
230
- * Returns name string for the GUI toolkit.
231
- */
232
- G_CONST_RETURN gchar *atk_get_toolkit_name (void);
233
-
234
- /*
235
- * Returns version string for the GUI toolkit.
236
- */
237
- G_CONST_RETURN gchar *atk_get_toolkit_version (void);
238
-
239
- /*
240
- * Gets the current version of ATK
241
- */
242
- G_CONST_RETURN gchar *atk_get_version (void);
182
+ const gchar *atk_get_toolkit_name (void);
183
+ const gchar *atk_get_toolkit_version (void);
184
+ const gchar *atk_get_version (void);
243
185
 
244
186
  /* --- GType boilerplate --- */
245
187
  /* convenience macros for atk type implementations, which for a type GtkGadgetAccessible will:
@@ -255,10 +197,77 @@ G_CONST_RETURN gchar *atk_get_version (void);
255
197
  * G_IMPLEMENT_INTERFACE (ATK_TYPE_TABLE, gtk_gadget_accessible_table_iface_init))
256
198
  */
257
199
 
200
+ /**
201
+ * ATK_DEFINE_TYPE:
202
+ * @TN: The name of the new type, in Camel case.
203
+ * @t_n: The name of the new type, in lowercase, with words separated by '_'.
204
+ * @T_P: The #GType of the parent type.
205
+ *
206
+ * A convenience macro for type ATK implementations, which declares a class
207
+ * initialization function, an instance initialization function (see #GTypeInfo
208
+ * for information about these) and a static variable named
209
+ * @t_n _parent_class pointing to the parent class. Furthermore, it
210
+ * defines a _get_type() function.
211
+ *
212
+ * Since: 1.22
213
+ */
258
214
  #define ATK_DEFINE_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
215
+
216
+ /**
217
+ * ATK_DEFINE_TYPE_WITH_CODE:
218
+ * @TN: The name of the new type, in Camel case.
219
+ * @t_n: The name of the new type in lowercase, with words separated by '_'.
220
+ * @T_P: The #GType of the parent type.
221
+ * @_C_: Custom code that gets inserted in the _get_type() function.
222
+ *
223
+ * A convenience macro for ATK type implementations.
224
+ * Similar to ATK_DEFINE_TYPE(), but allows you to insert custom code into the
225
+ * _get_type() function, e.g. interface implementations via G_IMPLEMENT_INTERFACE().
226
+ *
227
+ * Since: 1.22
228
+ */
259
229
  #define ATK_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
230
+
231
+ /**
232
+ * ATK_DEFINE_ABSTRACT_TYPE:
233
+ * @TN: The name of the new type, in Camel case.
234
+ * @t_n: The name of the new type, in lowercase, with words separated by '_'.
235
+ * @T_P: The #GType of the parent type.
236
+ *
237
+ * A convenience macro for ATK type implementations.
238
+ * Similar to ATK_DEFINE_TYPE(), but defines an abstract type.
239
+ *
240
+ * Since: 1.22
241
+ */
260
242
  #define ATK_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) ATK_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
243
+
244
+ /**
245
+ * ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE:
246
+ * @TN: The name of the new type, in Camel case.
247
+ * @t_n: The name of the new type, in lowercase, with words separated by '_'.
248
+ * @T_P: The #GType of the parent type.
249
+ * @_C_: Custom code that gets inserted in the _get_type() function.
250
+ *
251
+ * A convenience macro for ATK type implementations.
252
+ * Similar to ATK_DEFINE_TYPE_WITH_CODE(), but defines an abstract type.
253
+ *
254
+ * Since: 1.22
255
+ */
261
256
  #define ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
257
+
258
+ /**
259
+ * ATK_DEFINE_TYPE_EXTENDED:
260
+ * @TN: The name of the new type, in Camel case.
261
+ * @t_n: The name of the new type, in lowercase, with words separated by '_'.
262
+ * @T_P: The #GType of the parent type.
263
+ * @_f_: #GTypeFlags to pass to g_type_register_static()
264
+ * @_C_: Custom code that gets inserted in the _get_type() function.
265
+ *
266
+ * The most general convenience macro for ATK type implementations, on which
267
+ * ATK_DEFINE_TYPE(), etc are based.
268
+ *
269
+ * Since: 1.22
270
+ */
262
271
  #define ATK_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _ATK_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _ATK_DEFINE_TYPE_EXTENDED_END()
263
272
 
264
273
  #define _ATK_DEFINE_TYPE_EXTENDED_BEGIN(TypeName, type_name, TYPE, flags) \