Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

The first thing we do, let's kill all the lawyers. -- Wm. Shakespeare, "Henry VI", Part IV


comp / comp.lang.python / Re: TkInter Scrolled Listbox class?

SubjectAuthor
o Re: TkInter Scrolled Listbox class?Alan Gauld

1
Subject: Re: TkInter Scrolled Listbox class?
From: Alan Gauld
Newsgroups: comp.lang.python
Date: Tue, 5 Nov 2024 00:06 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: learn2program@gmail.com (Alan Gauld)
Newsgroups: comp.lang.python
Subject: Re: TkInter Scrolled Listbox class?
Date: Tue, 5 Nov 2024 00:06:56 +0000
Lines: 24
Message-ID: <mailman.78.1730765220.4695.python-list@python.org>
References: <20241104163248.108d895a431837a246a22fe4@fam-goebel.de>
<9aa48794-2dff-419a-b83a-0f5ac76332e0@yahoo.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ubVn6grO9a3qALAXV2AWOAMouwveVN4UrMm1sPvx5W5g==
Cancel-Lock: sha1:uAQOoIxNciXQSu84cM24aZnL3bE= sha256:d3BP45+Sh6lSERRwtChizkwVMGctRx9kRUBLVF4CeEM=
Return-Path: <learn2program@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=hbcKu7jk;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.019
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'idle': 0.09;
'subject:class': 0.09; 'flickr': 0.16; 'from:name:alan gauld':
0.16; 'message-id:@yahoo.co.uk': 0.16; 'photo-blog': 0.16;
'received:mail-wr1-x42f.google.com': 0.16; 'url-
ip:79.170.44.132/32': 0.16; 'url-ip:79.170.44/24': 0.16; 'url-
ip:79.170/16': 0.16; 'url-ip:79/8': 0.16; 'url:alan-g': 0.16;
'url:alan_gauld': 0.16; 'url:alangauldphotos': 0.16; 'widgets,':
0.16; 'widgets.': 0.16; 'wrote:': 0.16; 'probably': 0.17;
'url:amazon': 0.19; 'to:addr:python-list': 0.20; 'code': 0.23;
"i'd": 0.24; 'to:name:python-list@python.org': 0.24; 'url-
ip:18.239.70.223/32': 0.26; 'url-ip:18.239.70/24': 0.26; 'done':
0.28; 'fact': 0.28; 'settings': 0.28; 'suggest': 0.28; 'header
:User-Agent:1': 0.30; 'module': 0.31; 'program': 0.32; 'assume':
0.32; 'python-list': 0.32; 'but': 0.32; 'received:192.168.1':
0.32; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.34; 'really': 0.36; 'lists': 0.37;
'using': 0.37; "it's": 0.37; 'author': 0.37; 'class': 0.37;
'received:192.168': 0.37; 'alan': 0.40; 'learn': 0.40; 'want':
0.40; 'url-ip:18.239/16': 0.61; 'great': 0.62; 'follow': 0.62;
'years': 0.65; 'site': 0.68; 'url:author': 0.69; 'url-ip:18/8':
0.72; 'decent': 0.84; 'gone,': 0.84; 'url-ip:108.157/16': 0.84;
'shame': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1730765218; x=1731370018; darn=python.org;
h=content-transfer-encoding:in-reply-to:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:from:to:cc:subject:date:message-id:reply-to;
bh=hHkhrPfb0pB6Pexhq3z/Wpea/sg2Qc1aZMJ0wkBUvBo=;
b=hbcKu7jkPnC9BYMphbxbfHCKxY8R21BynM7NhdNFUThQ73iQkeIWmhkeKF11Vx4iQE
BUUjS6zNtCE20LSzjhVGXWE9jYauDhG1rBZDpztiM5yJhObL+872isDEhqWF95Qtyj2e
Ul3dDdKMz9MddLO64Dfne+COLH6U/UvUr6BIXxZaAHNoJocpQz+jkWRRuOqc16lQBDYu
X7FoBOVkyLi1TbzlLzoK660YdSTK2+vznpJRTLWQfCCl0aTQmAAArZjOYN87AHUY2oq8
dK8xJthDuC10Jmpgx0g50lelYW+ihYhh3MCglO3MrzIQBTcYlkhcIOK8RUccUeq7Lm+t
+B8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1730765218; x=1731370018;
h=content-transfer-encoding:in-reply-to:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=hHkhrPfb0pB6Pexhq3z/Wpea/sg2Qc1aZMJ0wkBUvBo=;
b=sZy9LsgA15oUs7xM6Arxgz79QSVC9yHLrpt+M2TF1T7OLHq4K7eu9UfhW4nRezjd6L
AOHUqCYMVlyLLBZuC67nMxaI4ZApD8zgwHPE7zsrC77MhMGQIL06dHLVShyU+OjBl6oo
NXRmJEEjdYQhIc3XbZPFRiS1Di7c0+gM5d4zOUTbvtmBOPSd8XHFMw0UqTg9BBZibWqq
Ltm5dg0g0zfw5/Mh7HIgBvJAjx8QNEYN47REGE3BJURLsXOCiATDlNP8vkt/VIV7wpRu
y10X2VJqUamNKc/CLegWw85XVgNA5rl55K+U6s8OjVHt5V6EdPS0P2/Pu/vBzv0fOMOI
OhVA==
X-Gm-Message-State: AOJu0YyB0dkobEo5LFms0SWf5mY+lgOnUXoIpXHuacI98AERR6i3cVCR
SkrtKZdzxObH2Jk1ylRzPWIKbqjpFG/uwZFI+0c2B0EkkyJjS2FOp2rQBBQY
X-Google-Smtp-Source: AGHT+IHXXb+GP19iNKjTa9rzva85YgDH4BEFlfuGJWp6np+bGDnmY7tspx4qQAZkyRv3PPaS2Y8wOQ==
X-Received: by 2002:adf:fd4f:0:b0:37d:5130:b384 with SMTP id
ffacd0b85a97d-3806119cdd9mr21644539f8f.35.1730765217706;
Mon, 04 Nov 2024 16:06:57 -0800 (PST)
X-Google-Original-From: Alan Gauld <alan.gauld@yahoo.co.uk>
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <20241104163248.108d895a431837a246a22fe4@fam-goebel.de>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <9aa48794-2dff-419a-b83a-0f5ac76332e0@yahoo.co.uk>
X-Mailman-Original-References: <20241104163248.108d895a431837a246a22fe4@fam-goebel.de>
View all headers

On 04/11/2024 15:32, Ulrich Goebel via Python-list wrote:

> I would like to build a class ScrolledListbox,

I assume like the one that used to be available via the Tix module?
It's a great shame that Tix is gone, it had a lot of these useful
widgets, but they were all wrappers around Tcl/Tk's Tix module and
that is the thing that has gone.

If you really want to replace it I'd suggest looking at the IDLE
code and see what they did because the IDLE settings dialogues
have scrolled lists and the IDLE guys have probably done a decent
job in building their widgets. (Based on the fact that IDLE has
had a tone of work done in recent years using ttk)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos

1

rocksolid light 0.9.8
clearnet tor