Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'gui': 0.12; '(when': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'listbox': 0.16; 'subclassing': 0.16; 'subject:Tkinter': 0.16; 'subject:insensitive': 0.16; 'subject:make': 0.16; 'tkinter.': 0.16; 'widgets.': 0.16; 'apps': 0.16; 'sender:addr:gmail.com': 0.17; 'seems': 0.21; 'cc:addr:gmail.com': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'skip': 0.24; 'fairly': 0.24; "i've": 0.25; '>': 0.26; 'gets': 0.27; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'own,': 0.31; 'lists': 0.32; 'handled': 0.32; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'application': 0.37; 'implement': 0.38; 'either': 0.39; 'most': 0.60; 'simple': 0.61; 'such': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'complex,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jpl+fd4lr47D4bmYSjJjdoYGttNZHJeVcRQ1dj/f09o=; b=euo79xSgoiVr/9sncr01dlIFURPXO1PVJTwbTTAp45Eh5qqs6qEALwVssyyFcIhnAG 4QSS6D+QKuUk0LbiIG88ufCTHrVfG93I5+yEoRm+cMBhJ8S/5GzA9mJo7K293N6Gxl5K vJRWRnjhtWjeWVlewVqf5pSWm108MFf+ZjxP28Qy8oTO0bhumIa3R+citFJ0OaacskZW a2SVdObGJUJJ2VidZQXGwGvH2VO7Egy1Ie3H+ftcpwXt/q04zocorzygrzz+53BPP95i 9+RvRQaEA802Chadt3g8rhK0E5cGLjPvb6sX0oOHb0Un1fYpblU1btM32EmTEXFB+VmY Rpjg== MIME-Version: 1.0 X-Received: by 10.50.97.7 with SMTP id dw7mr774666igb.2.1381450715280; Thu, 10 Oct 2013 17:18:35 -0700 (PDT) Sender: skip.montanaro@gmail.com In-Reply-To: References: Date: Thu, 10 Oct 2013 19:18:35 -0500 X-Google-Sender-Auth: 1FkD25FDhfUMlzR6T0q4RfHBE7w Subject: Re: How to make Tkinter Listbox entry insensitive? From: Skip Montanaro To: Jason Swails Content-Type: multipart/alternative; boundary=047d7b10c85328bfac04e86c0ffe Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381450723 news.xs4all.nl 15962 [2001:888:2000:d::a6]:51360 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56625 --047d7b10c85328bfac04e86c0ffe Content-Type: text/plain; charset=UTF-8 > It seems that this could be handled fairly straight-forwardly by subclassing either Listbox or Frame to implement your own, custom widget. I will freely admit that I am far from facile with Tk widgets. I've been using GTK for most GUI apps for a long while (when I need to write such things), but simple lists are such a PITA with GTK that I ran screaming to Tkinter. If this small application gets much more complex, I will take a look at subclassing Listbox. Skip --047d7b10c85328bfac04e86c0ffe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> It seems that this could be handled fairly straight-for= wardly by subclassing either Listbox or Frame to implement your own, custom= widget.

I will freely admit that I am far from facile with Tk widget= s. I've been using GTK for most GUI apps for a long while (when I need = to write such things), but simple lists are such a PITA with GTK that I ran= screaming to Tkinter. If this small application gets much more complex, I = will take a look at subclassing Listbox.

Skip

--047d7b10c85328bfac04e86c0ffe--