forked from AuroraMiddleware/gtk
cb94c7d69e
The a11y machinery is using signal subscription to get notified of size changes and notify listeners in turn. This is suboptimal for a couple of reasons: - if something connects to the GtkWidget::size-allocate signal we need to emit it; currently, we have an optimization in place that will skip the signal emission if there are no handlers, and it would be nice to go through the fast path - the accessibility implementation is part of GTK, and should not go through additional hoops like any out-of-tree API consumer
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/* GTK+ - accessibility implementations
|
|
* Copyright 2001 Sun Microsystems Inc.
|
|
*
|
|
* 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_WIDGET_ACCESSIBLE_PRIVATE_H__
|
|
#define __GTK_WIDGET_ACCESSIBLE_PRIVATE_H__
|
|
|
|
#include <gtk/a11y/gtkwidgetaccessible.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void _gtk_widget_accessible_set_layer (GtkWidgetAccessible *accessible,
|
|
AtkLayer layer);
|
|
|
|
void gtk_widget_accessible_update_bounds (GtkWidgetAccessible *self);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_WIDGET_ACCESSIBLE_PRIVATE_H__ */
|