Coverage Report - orca.orca_state

ModuleCoverage %
orca.orca_state
100%
1
# Orca
2
#
3
# Copyright 2006 Sun Microsystems Inc.
4
#
5
# This library is free software; you can redistribute it and/or
6
# modify it under the terms of the GNU Library General Public
7
# License as published by the Free Software Foundation; either
8
# version 2 of the License, or (at your option) any later version.
9
#
10
# This library is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
# Library General Public License for more details.
14
#
15
# You should have received a copy of the GNU Library General Public
16
# License along with this library; if not, write to the
17
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
# Boston, MA 02111-1307, USA.
19
20
"""Holds state that is shared among many modules.
21 1
"""
22
23 1
__id__        = "$Id: orca_state.py 1818 2006-12-13 01:21:31Z wwalker $"
24 1
__version__   = "$Revision: 1818 $"
25 1
__date__      = "$Date: 2006-12-12 17:21:31 -0800 (Tue, 12 Dec 2006) $"
26 1
__copyright__ = "Copyright (c) 2005-2006 Sun Microsystems Inc."
27 1
__license__   = "LGPL"
28
29
# NOTE: resist the temptation to do any imports here.  They can
30
# easily cause circular imports.
31
#
32
33
# The Accessible that has visual focus.
34
#
35 1
locusOfFocus = None
36
37
# The currently active window.
38
#
39 1
activeWindow = None
40
41
# The currently active script.
42
#
43 1
activeScript = None
44
45
# The "click" count. Used to determine if the user has double or triple
46
# "clicked" a key.
47
#
48 1
clickCount = 0
49
50
# Used to capture keys to redefine key bindings by the user.
51
#
52 1
capturingKeys   = False
53 1
lastCapturedKey = None
54
55
# The InputEvent instance representing the last input event.  This is
56
# set each time a mouse, keyboard or braille event is received.
57
#
58 1
lastInputEvent = None
59
60
# The last timestamp from a device event. Used to set focus for the Orca
61
# configuration GUI.
62
#
63 1
lastInputEventTimestamp = 0
64
65
# Records the last time a key was echoed.
66
#
67 1
lastKeyEchoTime = None
68
69
# The time that the last "No focus" event occured.
70
#
71 1
noFocusTimestamp = 0.0
72
73
# The last word spoken.
74
#
75 1
lastWord = ""
76
77
# The last searchQuery
78
#
79 1
searchQuery = None
80