Commit 6eca20f5 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

New function necessary to make GtkComboBox accessible. (#132847, Padraig

2004-07-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.h:
	* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
	function necessary to make GtkComboBox accessible.  (#132847,
	Padraig O'Briain)
parent dd7cc152
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
......
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
......
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
......
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
......
......@@ -3065,9 +3065,7 @@ gtk_combo_box_list_auto_scroll (GtkComboBox *combo_box,
static gboolean
gtk_combo_box_list_scroll_timeout (GtkComboBox *combo_box)
{
gboolean result;
gint x, y;
GtkWidget *tv;
GDK_THREADS_ENTER ();
......@@ -4411,3 +4409,30 @@ _gtk_combo_box_editing_canceled (GtkComboBox *combo_box)
return combo_box->priv->editing_canceled;
}
/**
* gtk_combo_box_get_popup_acceSsible:
* @combo_box: a #GtkComboBox
*
* Gets the accessible object corresponding to the combo box's popup.
*
* This function is mostly intended for use by accessibility technologies;
* applications should have little use for it.
*
* Since: 2.6
**/
AtkObject*
gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box)
{
AtkObject *atk_obj;
g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), NULL);
if (combo_box->priv->popup_widget)
{
atk_obj = gtk_widget_get_accessible (combo_box->priv->popup_widget);
return atk_obj;
}
return NULL;
}
......@@ -114,6 +114,7 @@ gchar *gtk_combo_box_get_active_text (GtkComboBox *combo_box);
/* programmatic control */
void gtk_combo_box_popup (GtkComboBox *combo_box);
void gtk_combo_box_popdown (GtkComboBox *combo_box);
AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box);
/* private */
gboolean _gtk_combo_box_editing_canceled (GtkComboBox *combo_box);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment