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


Groups > comp.lang.python > #56580

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!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'subject:Tkinter': 0.16; 'subject:insensitive': 0.16; 'subject:make': 0.16; 'sender:addr:gmail.com': 0.17; 'items.': 0.19; 'thanks.': 0.20; 'cc:addr:python.org': 0.22; 'entries': 0.24; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'disable': 0.31; 'though.': 0.31; "can't": 0.35; 'display': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'to:addr:gmail.com': 0.65; 'trick.': 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=Yo6NY9//8Yjwi3aUkLHwSm0fEpWJG29/Qnqlqx1Dvwo=; b=HKU7VC5j8dyAlYD3njvKAiGa3fGmQRn2eZhCqpZ3oyFi1cmzeau91u+cDxSGtfwK8U Hbv3i2WyT8qjkpyklSzN7pg/oCyb66TPWsRKzNFAdkwPwMyPCGJzGKa8ODyoaytm1TIW JAod9Aq/Yx0pcVyB8uHysHPk7jXM0PoBFlaBJMx+po48qVBoLGJ6HEzxLkvJ/ygGq6WA ffP9lE+LkD8xnVXcA6hDto2dicnaqA+aLXHlBs5Q9AEXfCQmDEuPgTAR3jALjlGkjGhq wVe7OGBW64hdgKRp2Z4ER/PD3KlskhwN5zewl88Om0X7/lHbc1fF3mewWxp7Uuge8c07 oJ3g==
MIME-Version 1.0
X-Received by 10.42.121.132 with SMTP id j4mr8498121icr.42.1381415822229; Thu, 10 Oct 2013 07:37:02 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <CAPTjJmpmaa8JWE7VRA49tZKKrdkPSfGDVGOC9108ZobBeHJmMQ@mail.gmail.com>
References <CANc-5UxAau6djZ+zYQ+8a=3nPGHx_aDEUUtCVAcwOtq2fz4ZHw@mail.gmail.com> <CAPTjJmpmaa8JWE7VRA49tZKKrdkPSfGDVGOC9108ZobBeHJmMQ@mail.gmail.com>
Date Thu, 10 Oct 2013 09:37:02 -0500
X-Google-Sender-Auth k2DvJ7VkjJA1QNurFNYJD1l1U7s
Subject Re: How to make Tkinter Listbox entry insensitive?
From Skip Montanaro <skip@pobox.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type text/plain; charset=UTF-8
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.948.1381416134.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1381416134 news.xs4all.nl 15871 [2001:888:2000:d::a6]:49025
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:56580

Show key headers only | View raw


> Other synonyms from GUI toolkits are "inactive" and "disabled". I
> don't know if that'll be any help though.

Thanks. "disabled" did the trick. Turns out you can't disable
individual items. Instead, you have to (hackishly) change the display
of entries somehow to indicate their inappropriateness...

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 09:37 -0500

csiph-web