Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'welcome.': 0.07; 'subject:help': 0.07; 'events.': 0.09; 'pointers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:skip:a 10': 0.09; 'jan': 0.11; 'determining': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'char': 0.18; 'subject:need': 0.18; 'widget': 0.18; 'gui': 0.18; 'input': 0.18; 'windows': 0.20; 'ascii': 0.22; "i've": 0.24; 'header:In-Reply-To:1': 0.24; 'url:edu': 0.24; 'written': 0.24; 'second': 0.24; 'header:User- Agent:1': 0.26; 'idea': 0.26; 'header:X-Complaints-To:1': 0.26; 'interface': 0.29; 'terry': 0.29; 'help,': 0.32; 'programming,': 0.33; 'to:addr:python-list': 0.35; 'eric': 0.35; 'text.': 0.35; 'text': 0.36; 'display': 0.37; 'subject:: ': 0.37; 'received:org': 0.38; 'building': 0.38; 'pm,': 0.39; 'test': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'subject:with': 0.40; 'simple': 0.61; 'skip:n 10': 0.63; 'url:index': 0.64; 'capture': 0.66; 'url:help': 0.73; 'start.': 0.84; 'tkinter,': 0.84; 'url:tkinter': 0.84; 'yrs': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: need help with an accessibility prototype Date: Fri, 22 May 2015 14:42:46 -0400 References: <555F5960.9030501@harvee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <555F5960.9030501@harvee.org> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432320192 news.xs4all.nl 2926 [2001:888:2000:d::a6]:48205 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91062 On 5/22/2015 12:29 PM, Eric S. Johansson wrote: > 2 needs. first is determining if NaturallySpeaking injects keycodes or > ascii char into the windows input queue. second is building a test > widget to capture and display text. > > I think I can solve both of these by building a simple text widget > (tkinter? qt? ??) to capture keycodes. problem, is in > yrs of programming, I've never written a GUI interface so I have no idea > where to start. help, tutor, pointers to samples would be most welcome. For tkinter, once you have seen a tutorial, look at http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html and in particular ch.54 on events. -- Terry Jan Reedy