Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The way of the world is to praise dead saints and prosecute live ones." -- Nathaniel Howe


devel / comp.lang.python / Tkinter Redo's

SubjectAuthor
* Re: Tkinter docs?Rob Cliffe
`- Tkinter Redo'sDan Kolis

1
Re: Tkinter docs?

<mailman.26.1685467568.23016.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23458&group=comp.lang.python#23458

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: rob.cli...@btinternet.com (Rob Cliffe)
Newsgroups: comp.lang.python
Subject: Re: Tkinter docs?
Date: Fri, 26 May 2023 16:41:31 +0100
Lines: 22
Message-ID: <mailman.26.1685467568.23016.python-list@python.org>
References: <f2ca4e10-3d9e-58c4-dd54-020420cd9d26@btinternet.com>
<646d83e0.050a0220.5128f.338f@mx.google.com>
<6f8e8ecc-4046-da2d-5454-5aee86b06e0f@btinternet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de UvNKrpUP3gxEkcAmkJAtxAuraiik+t5jCHWQxmFuhmMQ==
Return-Path: <rob.cliffe@btinternet.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=btinternet.com header.i=@btinternet.com header.b=F/4AndQS;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.169
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.67; '*S*': 0.01; 'knows': 0.04;
'suggestion': 0.07; 'telling': 0.07; 'objects,': 0.09; '(without':
0.16; 'colour': 0.16; 'widgets,': 0.16; 'to:addr:python-list':
0.20; 'stuff': 0.25; 'anyone': 0.25; 'task': 0.26; 'header:User-
Agent:1': 0.30; 'everyone': 0.32; 'objects': 0.32; 'replies':
0.32; 'received:192.168.1': 0.32; 'work.': 0.34; 'header:In-Reply-
To:1': 0.34; 'meaning': 0.35; 'using': 0.37; 'received:192.168':
0.37; 'thanks': 0.38; 'necessary': 0.39; 'wrote': 0.39;
'received:213': 0.40; 'wishes': 0.40; 'something': 0.40; 'best':
0.61; 'introduction': 0.61; 'skip:b 10': 0.63; 'button': 0.64;
'your': 0.64; 'well': 0.65; 'less': 0.65; 'net': 0.69; 'head':
0.73; 'christian,': 0.84; 'hardest': 0.84; 'rob': 0.84; 'styles':
0.84; 'themes': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com;
s=btmx201904; t=1685115760;
bh=ZWZGEfV1yVxeJRCBRneo3gO4nHvlQpqxOqeAGkgVMKU=;
h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To;
b=F/4AndQS3LkTDLK9c3HGnHThoGzPRCGne8QEv3Dn5o0bsYD2UzOcLWhsAOR/ilxtUI2C/cpg2gYAT79vEoqqEhUxrm07ATVuIZ181F1Nmq9CZ/KkRS6M2mHuM6Wzg16nTd+Rf7uqbisZLShA7EN3Vh+fXh+j9V2Pp+wX5cl8qcDhNd4CLzDpB15+LORoObtYl+HCOyuLR3OnoHMGnGP/VT3bOwWs0nTvQPY8yOa5aW/AUAqrRyUyPJcOUgSfDDJWX9AsdrT1FuISVE1IZHKsMK/ULgvc6nrp01AYkbyZwSy2t0w7UAR0IGo3Hu8CAb5ysz+UkRdD2e7X2Dh90sOXWw==
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=rob.cliffe@btinternet.com;
bimi=skipped
X-SNCR-Rigid: 63FE9A2B0A12BDB8
X-Originating-IP: [217.39.35.233]
X-OWM-Source-IP: 217.39.35.233 (GB)
X-OWM-Env-Sender: rob.cliffe@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejledgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfhosgcuvehlihhffhgvuceorhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomheqnecuggftrfgrthhtvghrnhepvdetudfhtefgveegieffleelvdeugfeikeevveehudetgfevieejfedtteevtdegnecukfhppedvudejrdefledrfeehrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddvtdegngdpihhnvghtpedvudejrdefledrfeehrddvfeefpdhmrghilhhfrhhomheprhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehphihthhhonhdqlhhishhtsehphihthhhonhdrohhrghdprhgvvhfkrfephhhoshhtvddujedqfeelqdefhedqvdeffedrrhgrnhhgvgdvudejqdefledrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrheprhhosgdrtghlihhffhgvsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpehrvgdqphhrugdqrhhgohhuthdqtddtge
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-SNCR-hdrdom: btinternet.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.1
Content-Language: en-GB
In-Reply-To: <646d83e0.050a0220.5128f.338f@mx.google.com>
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: <6f8e8ecc-4046-da2d-5454-5aee86b06e0f@btinternet.com>
X-Mailman-Original-References: <f2ca4e10-3d9e-58c4-dd54-020420cd9d26@btinternet.com>
<646d83e0.050a0220.5128f.338f@mx.google.com>
 by: Rob Cliffe - Fri, 26 May 2023 15:41 UTC

Thanks to everyone who replied.  All replies were constructive, none
were telling me to stop belly-aching.
I forgot/omitted to state that it was I who wrote the original project
(in a completely different language), making the task of re-writing it
much less formidable.  And meaning that I am familiar with the general
concepts of building a GUI.  Still, it will be a lot of work.

Grant, I may well buy one of the books you suggested.
I find the topic of themes and styles the hardest one to get my head
around (if anyone knows a good introduction that would be fantastic). 
All the other stuff is OK provided I can find something on the net to
give me the necessary information, which so far I usually can.

Christian, I am adopting your suggestion of using ttk widgets, except
for Button objects, because
    The colour of tk.Button objects can be set directly (bg=... fg=...)
    On my platform (Windows10) the shadowing of tk.Button objects is
more conspicuous (without using styles or whatever).

Best wishes
Rob Cliffe

Tkinter Redo's

<658f352c-3d0f-4f8f-94e8-f5d8fdc0c87an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23459&group=comp.lang.python#23459

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:a05:620a:4621:b0:75c:9b66:d021 with SMTP id br33-20020a05620a462100b0075c9b66d021mr864099qkb.15.1685468921915;
Tue, 30 May 2023 10:48:41 -0700 (PDT)
X-Received: by 2002:a05:6870:d344:b0:19f:a71b:d1ad with SMTP id
h4-20020a056870d34400b0019fa71bd1admr181244oag.0.1685468921600; Tue, 30 May
2023 10:48:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Tue, 30 May 2023 10:48:41 -0700 (PDT)
In-Reply-To: <mailman.26.1685467568.23016.python-list@python.org>
Injection-Info: google-groups.googlegroups.com; posting-host=207.35.121.189; posting-account=K4UY1goAAACCW5yvjXFUpSbFKUPyE41h
NNTP-Posting-Host: 207.35.121.189
References: <f2ca4e10-3d9e-58c4-dd54-020420cd9d26@btinternet.com>
<6f8e8ecc-4046-da2d-5454-5aee86b06e0f@btinternet.com> <646d83e0.050a0220.5128f.338f@mx.google.com>
<mailman.26.1685467568.23016.python-list@python.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <658f352c-3d0f-4f8f-94e8-f5d8fdc0c87an@googlegroups.com>
Subject: Tkinter Redo's
From: danko...@gmail.com (Dan Kolis)
Injection-Date: Tue, 30 May 2023 17:48:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2058
 by: Dan Kolis - Tue, 30 May 2023 17:48 UTC

On Tuesday, May 30, 2023 at 1:28:04 PM UTC-4, Rob Cliffe wrote:
> Thanks to everyone who replied. All replies were constructive, none
> were telling me to stop belly-aching.

Hi, Dan says:
When you get your style ideas sort of frozen, maybe you can poke up a sample here.

Aworked example for yourself is useful anyway.

My stuffs all in Ubuntu so seeing what works and doesn't in MS products interests me a lot.

I usually avoid the tkk variations almost completely. I have all the things I use each wrapped in a call that does what I want both aesthetically and so on. My app is only medium sensitive to art look and feel, productivity to maintain it is more important then super fancy looking.

Regards,
Dan

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor