Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Swap read error. You lose your mind.


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.4.1708762854.3452.python-list@python.org>

  copy mid

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

  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: Sat, 24 Feb 2024 03:20:47 -0500
Lines: 57
Message-ID: <mailman.4.1708762854.3452.python-list@python.org>
References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
<070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
Mime-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de QTrsW2o0MlXMUox9fSFQkAtn1B1Kci/Pizn5s/W/Q3Xg==
Cancel-Lock: sha1:rJmIfWLDYfwRjB2DhFFGZLAFb34= sha256:yW94HZxHo3eLmHDxcR+SI6VhUCWEDk2CXIIaPWaMqI8=
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=EmYFq82e;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.023
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'variable': 0.05; 'cc:addr
:python-list': 0.09; 'resizing': 0.09; 'values.': 0.09; 'window.':
0.09; 'cc:no real name:2**0': 0.14; 'that.': 0.15; '2024': 0.16;
'barry': 0.16; 'from:addr:gronicus': 0.16; 'from:addr:sga.ninja':
0.16; 'message-id:@SGA.Ninja': 0.16; 'received:floathosting.com':
0.16; 'received:mars.floathosting.com': 0.16; 'wrote:': 0.16;
'problem': 0.16; 'values': 0.17; 'code.': 0.17; 'feb': 0.17;
'cc:addr:python.org': 0.20; 'ran': 0.22; 'code': 0.23; 'cc:2**1':
0.23; 'run': 0.23; 'skip:- 10': 0.25; 'cannot': 0.25; 'printed':
0.28; 'seem': 0.31; 'extract': 0.32; 'python-list': 0.32;
'window': 0.32; 'but': 0.32; 'header:In-Reply-To:1': 0.34; 'yes,':
0.35; 'added': 0.39; 'use': 0.39; 'steve': 0.39; 'reports': 0.40;
'learn': 0.40; 'try': 0.40; 'from:': 0.62; 'to:': 0.62; 'button':
0.64; 'height': 0.64; 're:': 0.64; 'look': 0.65; 'outside': 0.67;
'cc:': 0.69; 'global': 0.73; 'sent:': 0.78; 'placement': 0.81;
'capture': 0.84; 'saturday,': 0.84; 'sub': 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:Cc:To:From:Sender:Reply-To: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=ir1w1jFqhVjJtTSj56GeH1yQhQgaKvJIVi37/0nWN3o=; b=EmYFq82ebiy8TWuWJH7+/FNlRq
MCNpTvRMRUGp2EG4mvOQwQj226yH8GO9lOCIKWzw3j0mHA7JN5Gl7zBrHoLxJBzxPQOKoZE/RBBW3
CrxiwuGvZfGop57G1jaJNWd4fZ7USvMmK6gVtdEdVsOXuFlwDGJCVzbRYxnwndasLEJdDCG6nQZip
VMO+7byFZL2zfkcHDQgjuh4jcXHu/hBJpESeUThdJYkldgIDoWZzzBVUDP0kxJ56Iz2OE40d/Fpk+
W+hinkz3YUsDu9NxLsXjKKCLZqz8F20qoXIf4SRUt7hnJuyzrQUOwZlQJs5b3pwuo3hkiy26NBcPl
Q6p95PmA==;
In-Reply-To: <C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJGy7zzXF4y2G8MeMWTWHq0fMItvQIzKKK2sC7BARA=
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: <070d01da66fa$5faea870$1f0bf950$@SGA.Ninja>
X-Mailman-Original-References: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
<C72A9439-2300-4DCD-8A56-7C3AAE718EF4@barrys-emacs.org>
 by: Steve GS - Sat, 24 Feb 2024 08:20 UTC

Yes, I ran that elegantly
simple code. The print
statement reports the X, Y,
Height and Width values.
However, I do not see how to
capture the width value.

I experimented with the code
Vwidth = rootV.winfo_width()
and it also reports the width
as I resize the window.

However, I cannot seem to use
the variable Vwidth outside
the sub routine. It is acting
as if Vwidth is not global but
I added that. It is reported
that Vwidth is not defined
when I try to use it in my
code.

So close......
SGA

-----Original Message-----
From: Barry
<barry@barrys-emacs.org>
Sent: Saturday, February 24,
2024 3:04 AM
To: Steve GS
<Gronicus@sga.ninja>
Cc: MRAB
<python@mrabarnett.plus.com>;
python-list@python.org
Subject: Re: Problem resizing
a window and button placement

> On 24 Feb 2024, at 04:36,
Steve GS via Python-list
<python-list@python.org>
wrote:
>
> How do I extract the values
> from args?

You can look up the args in
documentation.
You can run the example code
MRAB provided and see what is
printed to learn what is in
the args.

Barry

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor