Flags

Details

class Atspi.Cache(value)

Bases: GObject.GFlags

NONE = 0
PARENT = 1
ALL = 1073741823
UNDEFINED = 1073741824
DEFAULT = 127
ATTRIBUTES = 128
STATES = 16
CHILDREN = 2
ROLE = 32
NAME = 4
INTERFACES = 64
DESCRIPTION = 8
class Atspi.KeyListenerSyncType(value)

Bases: GObject.GFlags

Specifies the type of a key listener event. The values above can and should be bitwise-‘OR’-ed together, observing the compatibility limitations specified in the description of each value. For instance, Atspi.KeyListenerSyncType.ALL_WINDOWS | Atspi.KeyListenerSyncType.CANCONSUME is 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 system performance.

NOSYNC = 0

Events may be delivered asynchronously, which means in some cases they may already have been delivered to the application before the AT client receives the notification.

SYNCHRONOUS = 1

Events are delivered synchronously, before the currently focused application sees them.

CANCONSUME = 2

Events may be consumed by the AT client. Presumes and requires Atspi.KeyListenerSyncType.SYNCHRONOUS, incompatible with Atspi.KeyListenerSyncType.NOSYNC.

ALL_WINDOWS = 4

Events are received not from the application toolkit layer, but 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 participate poorly in the accessibility APIs, or not at all; however because of the intrusive nature of such snooping, it can have side-effects on certain older platforms. If unconditional event notifications, even when inaccessible or “broken” applications have focus, are not required, it may be best to avoid this enum value/flag.