File indexing completed on 2025-01-18 09:28:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef _ATSPI_REGISTRY_H_
0026 #define _ATSPI_REGISTRY_H_
0027
0028 #include "atspi-accessible.h"
0029 #include "atspi-device-listener.h"
0030 #include "atspi-types.h"
0031
0032 G_BEGIN_DECLS
0033
0034 typedef void (*AtspiGenerateMouseEventCB) (void *user_data);
0035
0036 GType atspi_key_definition_get_type ();
0037
0038 gint atspi_get_desktop_count ();
0039
0040 AtspiAccessible *atspi_get_desktop (gint i);
0041
0042 GArray *atspi_get_desktop_list ();
0043
0044 gboolean
0045 atspi_register_keystroke_listener (AtspiDeviceListener *listener,
0046 GArray *key_set,
0047 AtspiKeyMaskType modmask,
0048 AtspiKeyEventMask event_types,
0049 AtspiKeyListenerSyncType sync_type,
0050 GError **error);
0051
0052 gboolean
0053 atspi_deregister_keystroke_listener (AtspiDeviceListener *listener,
0054 GArray *key_set,
0055 AtspiKeyMaskType modmask,
0056 AtspiKeyEventMask event_types,
0057 GError **error);
0058
0059 gboolean
0060 atspi_register_device_event_listener (AtspiDeviceListener *listener,
0061 AtspiDeviceEventMask event_types,
0062 void *filter,
0063 GError **error);
0064
0065 gboolean
0066 atspi_deregister_device_event_listener (AtspiDeviceListener *listener,
0067 void *filter,
0068 GError **error);
0069
0070 gboolean
0071 atspi_generate_keyboard_event (glong keyval,
0072 const gchar *keystring,
0073 AtspiKeySynthType synth_type,
0074 GError **error);
0075
0076 gboolean
0077 atspi_generate_mouse_event (glong x, glong y, const gchar *name, GError **error);
0078
0079 void
0080 atspi_generate_mouse_event_async (glong x, glong y, const gchar *name, AtspiGenerateMouseEventCB callback, void *callback_data, GError **error);
0081
0082 void
0083 atspi_set_reference_window (AtspiAccessible *accessible);
0084 G_END_DECLS
0085
0086 #endif