diff src/gtkutils.h @ 8137:4971193f761d

[gaim-migrate @ 8842] The easy parts of Marc Mulcahy accessibility patch. Basically set a label for a lot of widgets so screen readers and stuff have something useful to read. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Jan 2004 03:51:40 +0000
parents fa6395637e2c
children 8633dc570442
line wrap: on
line diff
--- a/src/gtkutils.h	Sat Jan 17 22:02:14 2004 +0000
+++ b/src/gtkutils.h	Sun Jan 18 03:51:40 2004 +0000
@@ -346,4 +346,13 @@
 									 char **ret_protocol, char **ret_username,
 									 char **ret_alias);
 
+/**
+ * Sets an ATK name for a given widget.  Also sets the labelled-by 
+ * and label-for ATK relationships.
+ *
+ * @w The widget that we want to name.
+ * @l A GtkLabel that we want to use as the ATK name for the widget.
+ */
+void gaim_set_accessible_label (GtkWidget *w, GtkWidget *l);
+
 #endif /* _GAIM_GTK_UTILS_H_ */