Package appModules :: Module audacity
[hide private]
[frames] | no frames]

Source Code for Module appModules.audacity

 1  #appModules/audacity.py 
 2  #A part of NonVisual Desktop Access (NVDA) 
 3  #Copyright (C) 2006-2010 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  import appModuleHandler 
 8  import winUser 
 9  import controlTypes 
10   
11 -class AppModule(appModuleHandler.AppModule):
12
13 - def event_NVDAObject_init(self,obj):
14 if obj.windowClassName=="Button" and not obj.role in [controlTypes.ROLE_MENUBAR, controlTypes.ROLE_MENUITEM, controlTypes.ROLE_POPUPMENU]: 15 obj.name=winUser.getWindowText(obj.windowHandle).replace('&','')
16