Module ui
[hide private]
[frames] | no frames]

Source Code for Module ui

 1  #ui.py 
 2  #A part of NonVisual Desktop Access (NVDA) 
 3  #Copyright (C) 2006-2008 NVDA Contributors <http://www.nvda-project.org/> 
 4  #This file is covered by the GNU General Public License. 
 5  #See the file COPYING for more details. 
 6   
 7  """User interface functionality. 
 8  This refers to the user interface presented by the screen reader alone, not the graphical user interface. 
 9  See L{gui} for the graphical user interface. 
10  """ 
11   
12  import speech 
13  import braille 
14   
15 -def message(text):
16 """Present a message to the user. 17 The message will be presented in both speech and braille. 18 @param text: The text of the message. 19 @type text: str 20 """ 21 speech.speakMessage(text) 22 braille.handler.message(text)
23