Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Research is to see what everybody else has seen, and think what nobody else has thought.


devel / comp.lang.python / RE: Problem resizing a window and button placement

SubjectAuthor
o RE: Problem resizing a window and button placementSteve GS

1
RE: Problem resizing a window and button placement

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Gronicus@SGA.Ninja (Steve GS)
Newsgroups: comp.lang.python
Subject: RE: Problem resizing a window and button placement
Date: Mon, 26 Feb 2024 02:56:35 -0500
Lines: 73
Message-ID: <mailman.19.1708934209.3452.python-list@python.org>
References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
<070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
<31caf694-99fd-41ca-a98c-cb0d5d4a758e@tompassin.net>
<077801da6782$4f6046d0$ee20d470$@SGA.Ninja>
<13edcbad-1914-424c-97aa-3679eaf77fd8@mrabarnett.plus.com>
<07b101da6795$97d57df0$c78079d0$@SGA.Ninja>
<5d93173f-b172-408a-a052-c670214581b2@mrabarnett.plus.com>
<07c701da679e$d3a8a6f0$7af9f4d0$@SGA.Ninja>
<dd484037-16c8-b707-89f6-99f327207913@yahoo.co.uk>
<083301da6830$63224480$2966cd80$@SGA.Ninja>
<eb9aa840-34a9-44ba-863d-5e30c1333180@mrabarnett.plus.com>
<087b01da6889$528c8500$f7a58f00$@SGA.Ninja>
Mime-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de ENtRhOCKKDN+2ooeyLoq9wGYCv0IXQaS+sCYIrXCEh9A==
Cancel-Lock: sha1:Poq5kR0+VFx4ZWXXbXXHAXOhL7c= sha256:FBzB9xaLyh3EqOQ4taPuRi5dquGpq7FM/DpdcQqRF7k=
Return-Path: <Gronicus@SGA.Ninja>
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=sga.ninja header.i=@sga.ninja header.b=KlKFtvOz;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.018
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'traceback': 0.04; '(most':
0.05; 'last):': 0.05; 'fails': 0.09; 'resizing': 0.09;
'suggestion,': 0.09; 'typeerror:': 0.09; '2024': 0.16; '[snip]':
0.16; 'from:addr:gronicus': 0.16; 'from:addr:sga.ninja': 0.16;
'message-id:@SGA.Ninja': 0.16; 'mistake.': 0.16;
'received:floathosting.com': 0.16;
'received:mars.floathosting.com': 0.16; 'variable,': 0.16;
'wrote:': 0.16; 'problem': 0.16; 'uses': 0.19; 'to:addr:python-
list': 0.20; 'maybe': 0.22; 'code': 0.23; 'skip:- 10': 0.25; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25; 'url-
ip:188.166/16': 0.25; 'function': 0.27; 'url-ip:188/8': 0.31;
'program': 0.31; 'here,': 0.32; 'python-list': 0.32; 'window':
0.32; 'but': 0.32; 'header:In-Reply-To:1': 0.34; 'close': 0.35;
'fix': 0.36; 'file': 0.38; 'use': 0.39; 'steve': 0.39; 'should':
0.40; 'skip:0 20': 0.61; "there's": 0.61; 'from:': 0.62; 'to:':
0.62; '25,': 0.62; 'here': 0.62; 'button': 0.64; 're:': 0.64;
'bad': 0.67; 'outside': 0.67; 'adds': 0.69; 'interesting': 0.71;
'sent:': 0.78; 'placement': 0.81; 'extra': 0.84; 'itself.': 0.84;
'me:': 0.91; 'width': 0.91
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sga.ninja;
s=default;
h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:
Date:Subject:In-Reply-To:References:To:From:Sender:Reply-To:Cc:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=kaaT30ebduZ8apbEaf8z57V8/N1NbQixigcjHf7/rz4=; b=KlKFtvOz+7yf15ekA+7hsM26e2
rm6yLcpVgkRT6VO+50oDBkTLQgHER3JoiPmhat9xzY62yuvFnmdBFgRkp+BiR6seMqLnIPjjRaZnF
8otdezf7Or6MHpjLdLNILbAIUdpLOwYI5Aciv5UAcAUTi7zJOR7QhApVR3HoNWka1cjVaYqEhADwH
05+slF8eam/TvqNsHrxUfQuVC6b63BgtkglUVuhPk6qeJ0Eb72YfRJC9herhzoqaGNGx/MhQfGmuJ
HYR/fzamfTc39i/QhKnHqRNNESI9DRCW9fj/DGyjKWzTO9PYuCfCGiHHbXPAN8D07O+Kx8R6cF1Nb
j/2wFAUQ==;
In-Reply-To: <eb9aa840-34a9-44ba-863d-5e30c1333180@mrabarnett.plus.com>
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJGy7zzXF4y2G8MeMWTWHq0fMItvQIzKKK2AzCygCMCTZHTpQJPWNtlAuepcsMCIock6AIvta91AZpYCAsBx1Fa3wLI9NlvAWg2kL+vfQKq0A==
Content-Language: en-us
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - mars.floathosting.com
X-AntiAbuse: Original Domain - python.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - SGA.Ninja
X-Get-Message-Sender-Via: mars.floathosting.com: authenticated_id:
gronicus@sga.ninja
X-Authenticated-Sender: mars.floathosting.com: gronicus@sga.ninja
X-Source:
X-Source-Args:
X-Source-Dir:
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: <087b01da6889$528c8500$f7a58f00$@SGA.Ninja>
X-Mailman-Original-References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
<070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
<31caf694-99fd-41ca-a98c-cb0d5d4a758e@tompassin.net>
<077801da6782$4f6046d0$ee20d470$@SGA.Ninja>
<13edcbad-1914-424c-97aa-3679eaf77fd8@mrabarnett.plus.com>
<07b101da6795$97d57df0$c78079d0$@SGA.Ninja>
<5d93173f-b172-408a-a052-c670214581b2@mrabarnett.plus.com>
<07c701da679e$d3a8a6f0$7af9f4d0$@SGA.Ninja>
<dd484037-16c8-b707-89f6-99f327207913@yahoo.co.uk>
<083301da6830$63224480$2966cd80$@SGA.Ninja>
<eb9aa840-34a9-44ba-863d-5e30c1333180@mrabarnett.plus.com>
 by: Steve GS - Mon, 26 Feb 2024 07:56 UTC

Ww Inside = <250>
Ww Inside = <249>
Ww Inside = <250>
Ww Outside =
<1770662408256on_configure>

Here is my result...

SGA

-----Original Message-----
From: Python-list
<python-list-bounces+gronicus=
sga.ninja@python.org> On
Behalf Of MRAB via Python-list
Sent: Sunday, February 25,
2024 6:40 PM
To: python-list@python.org
Subject: Re: Problem resizing
a window and button placement

On 2024-02-25 21:19, Steve GS
via Python-list wrote:
> SOLUTION FOUND!
>
> The fix was to write the
code that uses the width value
and to place it into the
function itself.
> Kluge? Maybe but it works.
>
> Mischief Managed.
>
> ========================
> As for the most recent
suggestion, it fails for me:
>
> Traceback (most recent call
last):
> File "F:/___zInsulin Code
A 08-02-23/WinPic/IOWw.pyw",
line 14, in <module>
> print("Ww Outside = <"
+ str(Ww) > + ">")
> TypeError: bad operand type
for unary +: 'str'
>
It fails because there's a
mistake. It should be:

print("Ww Outside = <" +
str(Ww) + ">")

> With the need to close the
window, it adds an extra step
and intervention to the
program to use. I am not sure
how this help[s.
>
> As a curio, it would be
interesting to see how to use
the value of a variable,
created in the function used
here, and make it available to
the code outside the function.
>
[snip]

--
https://mail.python.org/mailma
n/listinfo/python-list

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor