forked from AuroraMiddleware/gtk
feb64f40b0
When setting new text on the label, the text-changed::delete signal needs to be emitted before deleting the text (so that atk-bridge can query the old text) while the text-changed::insert event needs to happen afterwards (for the same reason). The old code using the notify signal was only emitted after changing the text.
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/* GTK+ - accessibility implementations
|
|
* Copyright (C) 2002, 2004 Anders Carlsson <andersca@gnu.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GTK_LABEL_ACCESSIBLE_PRIVATE_H__
|
|
#define __GTK_LABEL_ACCESSIBLE_PRIVATE_H__
|
|
|
|
#include <gtk/a11y/gtklabelaccessible.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void _gtk_label_accessible_text_deleted (GtkLabel *label);
|
|
void _gtk_label_accessible_text_inserted (GtkLabel *label);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_LABEL_ACCESSIBLE_PRIVATE_H__ */
|