Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'handler': 0.04; 'handlers': 0.09; 'message-id:@webmail.messagingengine.com': 0.09; 'x-mailer:messagingengine.com webmail interface': 0.09; 'from:addr:bdurham.com': 0.16; 'received:internal': 0.19; 'insert': 0.19; 'to:2**1': 0.21; "doesn't": 0.22; 'header:In- Reply-To:1': 0.22; 'received:10.202': 0.23; 'received:10.202.2': 0.23; 'received:66.111': 0.23; 'received:66.111.4': 0.23; 'received:messagingengine.com': 0.23; 'received:smtp.messagingengine.com': 0.23; 'suspect': 0.25; 'work.': 0.28; 'effect': 0.28; 'malcolm': 0.30; 'to:addr:python- list': 0.34; 'thank': 0.35; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'text,': 0.38; 'think': 0.38; 'to:addr:python.org': 0.39; 'matter': 0.61; 'header:Message-Id:1': 0.61; 'mouse': 0.67 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:references:subject :in-reply-to:date; s=smtpout; bh=1lfHAMxChdqGwdAy98vNSVZwOTU=; b= NzEs4kNCMtmCf0wzy3LblpKCK+3uu9FcsfHewPs4QdS54pIouKLpHIPGMKcCU/pQ 12tIHamvA8iCNwBKBiIR3f0vCzQ6N/vBscS6R6QltHdrwCkt4QoAaXpidv1VulVU Sj66EcjQxQeD7yHhjPEoWgYzIlKALPvIpKKHkg7Zpjo= X-Sasl-Enc: TXKEJAGWs93l/OOBp6rxngeWlN+Eg2GYd0H56+jyTWBO 1311630850 From: "Malcolm Greene" To: "Peter Otten" <__peter__@web.de>, python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface References: <745ebc09-7233-4718-8a01-d49d2075c4d9@glegroupsg2000goo.googlegroups.com> <1311625593.6700.2155768449@webmail.messagingengine.com> Subject: Re: Validating Entry in tkinter In-Reply-To: Date: Mon, 25 Jul 2011 17:54:10 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311630852 news.xs4all.nl 23876 [2001:888:2000:d::a6]:50608 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10315 Peter, > I think it doesn't matter whether you type in text, or insert it with Ctrl+V or the middle mouse button. The validatecommand handler is always triggered. I suspect achieving the same effect with Button/KeyPress handlers would require significantly more work. Thank you! Malcolm