summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-05-03 20:11:14 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-05-03 20:11:14 +0000
commit42cc312df65ba892bfc21e638f109c77be3cd00e (patch)
tree9ca5fd5b82443cebf1a96fd6ffaecefe6a8e1f59 /gtk/gtkwidget.h
parent3125dc0cf28a399bcc92d9c5350f996a1a23cc76 (diff)
downloadgdk-pixbuf-42cc312df65ba892bfc21e638f109c77be3cd00e.tar.gz
Add dependency on Atk for accessibility support.
Thu May 3 14:13:49 2001 Owen Taylor <otaylor@redhat.com> * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add dependency on Atk for accessibility support. * configure.in **/Makefile.am: Major reworking of substituted variables for CFLAGS/LIBS to make a lot more sane and keep the the compile/link lines a bit shorter. * gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 64ba08553..8bdc5d17b 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -32,7 +32,7 @@
#include <gtk/gtkobject.h>
#include <gtk/gtkadjustment.h>
#include <gtk/gtkstyle.h>
-
+#include <atk/atkobject.h>
#ifdef __cplusplus
extern "C" {
@@ -235,7 +235,7 @@ struct _GtkWidgetClass
* Implementation of this signal is optional.
*/
guint set_scroll_adjustments_signal;
-
+
/* basics */
void (* show) (GtkWidget *widget);
void (* show_all) (GtkWidget *widget);
@@ -381,6 +381,11 @@ struct _GtkWidgetClass
/* Signals used only for keybindings */
void (* popup_menu) (GtkWidget *widget);
+
+ /* accessibility support
+ */
+ AtkObject* (* get_accessible) (GtkWidget *widget);
+
/* Padding for future expansion */
GtkFunction pad1;
GtkFunction pad2;
@@ -536,6 +541,10 @@ GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget,
GdkColormap* gtk_widget_get_colormap (GtkWidget *widget);
GdkVisual* gtk_widget_get_visual (GtkWidget *widget);
+
+/* Accessibility support */
+AtkObject* gtk_widget_get_accessible (GtkWidget *widget);
+
/* The following functions must not be called on an already
* realized widget. Because it is possible that somebody
* can call get_colormap() or get_visual() and save the