Add annotations in a11y headers

This commit is contained in:
Matthias Clasen 2013-05-05 14:24:55 -04:00
parent 20c8c8b91c
commit 4cec2337ab
44 changed files with 63 additions and 0 deletions

View File

@ -49,6 +49,7 @@ struct _GtkArrowAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_arrow_accessible_get_type (void); GType gtk_arrow_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkBooleanCellAccessibleClass
GtkRendererCellAccessibleClass parent_class; GtkRendererCellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_boolean_cell_accessible_get_type (void); GType gtk_boolean_cell_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkButtonAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_button_accessible_get_type (void); GType gtk_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -51,6 +51,7 @@ struct _GtkCellAccessibleClass
void (*update_cache) (GtkCellAccessible *cell); void (*update_cache) (GtkCellAccessible *cell);
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_cell_accessible_get_type (void); GType gtk_cell_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -73,8 +73,10 @@ struct _GtkCellAccessibleParentIface
GtkCellAccessible *cell); GtkCellAccessible *cell);
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_cell_accessible_parent_get_type (void); GType gtk_cell_accessible_parent_get_type (void);
GDK_AVAILABLE_IN_ALL
void gtk_cell_accessible_parent_get_cell_extents (GtkCellAccessibleParent *parent, void gtk_cell_accessible_parent_get_cell_extents (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell, GtkCellAccessible *cell,
gint *x, gint *x,
@ -82,20 +84,27 @@ void gtk_cell_accessible_parent_get_cell_extents (GtkCellAccessibleParent *p
gint *width, gint *width,
gint *height, gint *height,
AtkCoordType coord_type); AtkCoordType coord_type);
GDK_AVAILABLE_IN_ALL
void gtk_cell_accessible_parent_get_cell_area (GtkCellAccessibleParent *parent, void gtk_cell_accessible_parent_get_cell_area (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell, GtkCellAccessible *cell,
GdkRectangle *cell_rect); GdkRectangle *cell_rect);
GDK_AVAILABLE_IN_ALL
gboolean gtk_cell_accessible_parent_grab_focus (GtkCellAccessibleParent *parent, gboolean gtk_cell_accessible_parent_grab_focus (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);
GDK_AVAILABLE_IN_ALL
int gtk_cell_accessible_parent_get_child_index (GtkCellAccessibleParent *parent, int gtk_cell_accessible_parent_get_child_index (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);
GDK_AVAILABLE_IN_ALL
GtkCellRendererState GtkCellRendererState
gtk_cell_accessible_parent_get_renderer_state(GtkCellAccessibleParent *parent, gtk_cell_accessible_parent_get_renderer_state(GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);
GDK_AVAILABLE_IN_ALL
void gtk_cell_accessible_parent_expand_collapse (GtkCellAccessibleParent *parent, void gtk_cell_accessible_parent_expand_collapse (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);
GDK_AVAILABLE_IN_ALL
void gtk_cell_accessible_parent_activate (GtkCellAccessibleParent *parent, void gtk_cell_accessible_parent_activate (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);
GDK_AVAILABLE_IN_ALL
void gtk_cell_accessible_parent_edit (GtkCellAccessibleParent *parent, void gtk_cell_accessible_parent_edit (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell); GtkCellAccessible *cell);

View File

@ -49,6 +49,7 @@ struct _GtkCheckMenuItemAccessibleClass
GtkMenuItemAccessibleClass parent_class; GtkMenuItemAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_check_menu_item_accessible_get_type (void); GType gtk_check_menu_item_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkComboBoxAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_combo_box_accessible_get_type (void); GType gtk_combo_box_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -57,6 +57,7 @@ struct _GtkContainerAccessibleClass
gpointer data); gpointer data);
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_container_accessible_get_type (void); GType gtk_container_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,13 +50,18 @@ struct _GtkContainerCellAccessibleClass
GtkCellAccessibleClass parent_class; GtkCellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_container_cell_accessible_get_type (void); GType gtk_container_cell_accessible_get_type (void);
GDK_AVAILABLE_IN_ALL
GtkContainerCellAccessible *gtk_container_cell_accessible_new (void); GtkContainerCellAccessible *gtk_container_cell_accessible_new (void);
GDK_AVAILABLE_IN_ALL
void gtk_container_cell_accessible_add_child (GtkContainerCellAccessible *container, void gtk_container_cell_accessible_add_child (GtkContainerCellAccessible *container,
GtkCellAccessible *child); GtkCellAccessible *child);
GDK_AVAILABLE_IN_ALL
void gtk_container_cell_accessible_remove_child (GtkContainerCellAccessible *container, void gtk_container_cell_accessible_remove_child (GtkContainerCellAccessible *container,
GtkCellAccessible *child); GtkCellAccessible *child);
GDK_AVAILABLE_IN_ALL
GList *gtk_container_cell_accessible_get_children (GtkContainerCellAccessible *container); GList *gtk_container_cell_accessible_get_children (GtkContainerCellAccessible *container);
G_END_DECLS G_END_DECLS

View File

@ -49,8 +49,12 @@ struct _GtkEntryAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_entry_accessible_get_type (void); GType gtk_entry_accessible_get_type (void);
GDK_AVAILABLE_IN_ALL
GType gtk_entry_icon_accessible_get_type (void);
G_END_DECLS G_END_DECLS
#endif /* __GTK_ENTRY_ACCESSIBLE_H__ */ #endif /* __GTK_ENTRY_ACCESSIBLE_H__ */

View File

@ -49,6 +49,7 @@ struct _GtkExpanderAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_expander_accessible_get_type (void); GType gtk_expander_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkFrameAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_frame_accessible_get_type (void); GType gtk_frame_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkIconViewAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_icon_view_accessible_get_type (void); GType gtk_icon_view_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkImageAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_image_accessible_get_type (void); GType gtk_image_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkImageCellAccessibleClass
GtkRendererCellAccessibleClass parent_class; GtkRendererCellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_image_cell_accessible_get_type (void); GType gtk_image_cell_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkLabelAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_label_accessible_get_type (void); GType gtk_label_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkLevelBarAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_level_bar_accessible_get_type (void); GType gtk_level_bar_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkLinkButtonAccessibleClass
GtkButtonAccessibleClass parent_class; GtkButtonAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_link_button_accessible_get_type (void); GType gtk_link_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkLockButtonAccessibleClass
GtkButtonAccessibleClass parent_class; GtkButtonAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_lock_button_accessible_get_type (void); GType gtk_lock_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkMenuAccessibleClass
GtkMenuShellAccessibleClass parent_class; GtkMenuShellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_menu_accessible_get_type (void); GType gtk_menu_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkMenuItemAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_menu_item_accessible_get_type (void); GType gtk_menu_item_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkMenuShellAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_menu_shell_accessible_get_type (void); GType gtk_menu_shell_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkNotebookAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_notebook_accessible_get_type (void); GType gtk_notebook_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,11 +49,14 @@ struct _GtkNotebookPageAccessibleClass
AtkObjectClass parent_class; AtkObjectClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_notebook_page_accessible_get_type (void); GType gtk_notebook_page_accessible_get_type (void);
GDK_AVAILABLE_IN_ALL
AtkObject *gtk_notebook_page_accessible_new (GtkNotebookAccessible *notebook, AtkObject *gtk_notebook_page_accessible_new (GtkNotebookAccessible *notebook,
GtkWidget *child); GtkWidget *child);
GDK_AVAILABLE_IN_ALL
void gtk_notebook_page_accessible_invalidate (GtkNotebookPageAccessible *page); void gtk_notebook_page_accessible_invalidate (GtkNotebookPageAccessible *page);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkPanedAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_paned_accessible_get_type (void); GType gtk_paned_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkProgressBarAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_progress_bar_accessible_get_type (void); GType gtk_progress_bar_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkRadioButtonAccessibleClass
GtkToggleButtonAccessibleClass parent_class; GtkToggleButtonAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_radio_button_accessible_get_type (void); GType gtk_radio_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkRadioMenuItemAccessibleClass
GtkCheckMenuItemAccessibleClass parent_class; GtkCheckMenuItemAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_radio_menu_item_accessible_get_type (void); GType gtk_radio_menu_item_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkRangeAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_range_accessible_get_type (void); GType gtk_range_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,8 +50,10 @@ struct _GtkRendererCellAccessibleClass
GtkCellAccessibleClass parent_class; GtkCellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_renderer_cell_accessible_get_type (void); GType gtk_renderer_cell_accessible_get_type (void);
GDK_AVAILABLE_IN_ALL
AtkObject *gtk_renderer_cell_accessible_new (GtkCellRenderer * renderer); AtkObject *gtk_renderer_cell_accessible_new (GtkCellRenderer * renderer);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkScaleAccessibleClass
GtkRangeAccessibleClass parent_class; GtkRangeAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_scale_accessible_get_type (void); GType gtk_scale_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkScaleButtonAccessibleClass
GtkButtonAccessibleClass parent_class; GtkButtonAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_scale_button_accessible_get_type (void); GType gtk_scale_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkScrolledWindowAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_scrolled_window_accessible_get_type (void); GType gtk_scrolled_window_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkSpinButtonAccessibleClass
GtkEntryAccessibleClass parent_class; GtkEntryAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_spin_button_accessible_get_type (void); GType gtk_spin_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkSpinnerAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_spinner_accessible_get_type (void); GType gtk_spinner_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkStatusbarAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_statusbar_accessible_get_type (void); GType gtk_statusbar_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkSwitchAccessibleClass
GtkWidgetAccessibleClass parent_class; GtkWidgetAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_switch_accessible_get_type (void); GType gtk_switch_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -50,6 +50,7 @@ struct _GtkTextCellAccessibleClass
GtkRendererCellAccessibleClass parent_class; GtkRendererCellAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_text_cell_accessible_get_type (void); GType gtk_text_cell_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkTextViewAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_text_view_accessible_get_type (void); GType gtk_text_view_accessible_get_type (void);

View File

@ -49,6 +49,7 @@ struct _GtkToggleButtonAccessibleClass
GtkButtonAccessibleClass parent_class; GtkButtonAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_toggle_button_accessible_get_type (void); GType gtk_toggle_button_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,7 +49,9 @@ struct _GtkToplevelAccessibleClass
AtkObjectClass parent_class; AtkObjectClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_toplevel_accessible_get_type (void); GType gtk_toplevel_accessible_get_type (void);
GDK_AVAILABLE_IN_ALL
GList *gtk_toplevel_accessible_get_children (GtkToplevelAccessible *accessible); GList *gtk_toplevel_accessible_get_children (GtkToplevelAccessible *accessible);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkTreeViewAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_tree_view_accessible_get_type (void); GType gtk_tree_view_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -56,6 +56,7 @@ struct _GtkWidgetAccessibleClass
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_widget_accessible_get_type (void); GType gtk_widget_accessible_get_type (void);
G_END_DECLS G_END_DECLS

View File

@ -49,6 +49,7 @@ struct _GtkWindowAccessibleClass
GtkContainerAccessibleClass parent_class; GtkContainerAccessibleClass parent_class;
}; };
GDK_AVAILABLE_IN_ALL
GType gtk_window_accessible_get_type (void); GType gtk_window_accessible_get_type (void);
G_END_DECLS G_END_DECLS