atspi-types.h | atspi-types.h | |||
---|---|---|---|---|
skipping to change at line 121 | skipping to change at line 121 | |||
typedef struct _AtspiKeySet | typedef struct _AtspiKeySet | |||
{ | { | |||
guint *keysyms; | guint *keysyms; | |||
gushort *keycodes; | gushort *keycodes; | |||
gchar **keystrings; | gchar **keystrings; | |||
gshort len; | gshort len; | |||
} AtspiKeySet; | } AtspiKeySet; | |||
/** | /** | |||
*AtspiKeyListenerSyncType: | *AtspiKeyListenerSyncType: | |||
*@SPI_KEYLISTENER_NOSYNC: Events may be delivered asynchronously, | * @ATSPI_KEYLISTENER_NOSYNC: Events may be delivered asynchronously, | |||
* which means in some cases they may already have been delivered to the | * which means in some cases they may already have been delivered to the | |||
* application before the AT client receives the notification. | * application before the AT client receives the notification. | |||
*@SPI_KEYLISTENER_SYNCHRONOUS: Events are delivered synchronously, before the | * @ATSPI_KEYLISTENER_SYNCHRONOUS: Events are delivered synchronously, befo re the | |||
* currently focussed application sees them. | * currently focussed application sees them. | |||
*@ATSPI_KEYLISTENER_CANCONSUME: Events may be consumed by the AT client. Presumes and | * @ATSPI_KEYLISTENER_CANCONSUME: Events may be consumed by the AT client. Presumes and | |||
* requires #ATSPI_KEYLISTENER_SYNCHRONOUS, incompatible with #ATSPI_KEYLIS TENER_NOSYNC. | * requires #ATSPI_KEYLISTENER_SYNCHRONOUS, incompatible with #ATSPI_KEYLIS TENER_NOSYNC. | |||
*@SPI_KEYLISTENER_ALL_WINDOWS: Events are received not from the applicatio n toolkit layer, but | * @ATSPI_KEYLISTENER_ALL_WINDOWS: Events are received not from the applica tion toolkit layer, but | |||
* from the device driver or windowing system subsystem; such notifications are 'global' in the | * from the device driver or windowing system subsystem; such notifications are 'global' in the | |||
* sense that they are not broken or defeated by applications that particip ate poorly | * sense that they are not broken or defeated by applications that particip ate poorly | |||
* in the accessibility APIs, or not at all; however because of the intrusi ve nature of | * in the accessibility APIs, or not at all; however because of the intrusi ve nature of | |||
* such snooping, it can have side-effects on certain older platforms. If unconditional | * such snooping, it can have side-effects on certain older platforms. If unconditional | |||
* event notifications, even when inaccessible or "broken" applications hav e focus, are not | * event notifications, even when inaccessible or "broken" applications hav e focus, are not | |||
* required, it may be best to avoid this enum value/flag. | * required, it may be best to avoid this enum value/flag. | |||
* | * | |||
*Specified the tyupe of a key listener event. | * Specifies the type of a key listener event. | |||
* Certain of the values above can and should be bitwise-'OR'ed | * The values above can and should be bitwise-'OR'-ed | |||
* together, observing the compatibility limitations specified in the descr iption of | * together, observing the compatibility limitations specified in the descr iption of | |||
* each value. For instance, #ATSPI_KEYLISTENER_ALL_WINDOWS | #ATSPI_KEYLI STENER_CANCONSUME is | * each value. For instance, #ATSPI_KEYLISTENER_ALL_WINDOWS | #ATSPI_KEYLI STENER_CANCONSUME is | |||
* a commonly used combination which gives the AT complete control over the delivery of matching | * a commonly used combination which gives the AT complete control over the delivery of matching | |||
* events. However, such filters should be used sparingly as they may have a negative impact on | * events. However, such filters should be used sparingly as they may have a negative impact on | |||
* system performance. | * system performance. | |||
**/ | **/ | |||
typedef enum { | typedef enum { | |||
ATSPI_KEYLISTENER_NOSYNC = 0, | ATSPI_KEYLISTENER_NOSYNC = 0, | |||
ATSPI_KEYLISTENER_SYNCHRONOUS = 1, | ATSPI_KEYLISTENER_SYNCHRONOUS = 1, | |||
ATSPI_KEYLISTENER_CANCONSUME = 2, | ATSPI_KEYLISTENER_CANCONSUME = 2, | |||
End of changes. 5 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||