Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #56625

Re: How to make Tkinter Listbox entry insensitive?

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 <skip.montanaro@gmail.com>
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; '&gt;': 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 <CAEk9e3r2vi4qT+be4pjmGqo8Jyr6KKzj91bcwA-kMRhL-c6R6A@mail.gmail.com>
References <CANc-5UxAau6djZ+zYQ+8a=3nPGHx_aDEUUtCVAcwOtq2fz4ZHw@mail.gmail.com> <CAPTjJmpmaa8JWE7VRA49tZKKrdkPSfGDVGOC9108ZobBeHJmMQ@mail.gmail.com> <CANc-5UyuKi-cAzCR6b2p81JggR557xjRTSwmG4xRmCBX9cbNYQ@mail.gmail.com> <CAMw+j7+pfnkjfj+vCUuCXLWnJHaA8n4n3Vrb5b+depXOjaMwAQ@mail.gmail.com> <CANc-5Ux6V4u-JUz0M4ntOPSXm+t3yEB_dOmOL50NZbGeXr=DDg@mail.gmail.com> <CAEk9e3r2vi4qT+be4pjmGqo8Jyr6KKzj91bcwA-kMRhL-c6R6A@mail.gmail.com>
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 <skip@pobox.com>
To Jason Swails <jason.swails@gmail.com>
Content-Type multipart/alternative; boundary=047d7b10c85328bfac04e86c0ffe
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.972.1381450723.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

> 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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to make Tkinter Listbox entry insensitive? Skip Montanaro <skip@pobox.com> - 2013-10-10 19:18 -0500

csiph-web