Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Without followers, evil cannot spread. -- Spock, "And The Children Shall Lead", stardate 5029.5


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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!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: Fri, 23 Feb 2024 23:33:05 -0500
Lines: 57
Message-ID: <mailman.2.1708749191.3452.python-list@python.org>
References: <06a301da66be$bfdc0da0$3f9428e0$@SGA.Ninja>
<76894f6f-551c-470a-93c7-b229c28f8b58@mrabarnett.plus.com>
<06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
Mime-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de GFJ2dumwPgbSsZkmKlcbiQg2Pd0gqA2jwR8Y3pMEkeSA==
Cancel-Lock: sha1:FYKahqOWAicf7NT8t3GhNUiUAc0= sha256:xKfO8AiCFnbh52F9TTBdSbkMvvO5x9M8yxLfFVuT1/4=
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=YX7xzj4U;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.065
X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'resizing': 0.09; "'':":
0.16; '2024': 0.16; 'buttons': 0.16; 'from:addr:gronicus': 0.16;
'from:addr:sga.ninja': 0.16; 'locate': 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; 'to:addr:python-list': 0.20; 'skip:- 10':
0.25; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24':
0.25; 'python,': 0.25; 'url-ip:188.166/16': 0.25; 'friday,': 0.26;
'url-ip:188/8': 0.31; 'extract': 0.32; 'python-list': 0.32;
'window': 0.32; 'header:In-Reply-To:1': 0.34; 'change': 0.36;
'handle': 0.39; 'use': 0.39; 'steve': 0.39; 'want': 0.40; 'event':
0.40; 'skip:o 10': 0.61; 'from:': 0.62; 'to:': 0.62; 'button':
0.64; 're:': 0.64; 'right': 0.68; 'sent:': 0.78; 'placement':
0.81; 'bind': 0.84; 'border': 0.91; 'placing': 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=I9m/D/8edUZyQYhMK5EkFM+0MCXxVqrh250IyiKoof0=; b=YX7xzj4UI+pmNO+IzCjiKGtYDo
F2uIfz/ZCVD9uZNC4uvtiGk/pLjDCDZU9I0o8rkcGEiIRlyae2SAXXhdPRX35FmJLm2L0FTHXXH9M
kzSUHYyUucdS3zcAa+rj6XOnvf3+iJY865h7uw0SAxLF1smUTCg6AqkP1N++UXU09iEKKyPE695pi
GdD+HSF2I5cpm6T30XIHKyyMZiOQisald92ealBRGkFC0K/tDxgKoY63tHJn/vQO0RpJVe4PNBKDM
sb91pzZHVO+eYYSYWu0tmmu3GVvQrD5l2JCQq1Hk7ojzAdfQ7K48AR6MQ3m+Prlpv/K/Un438RB0Z
JwTdTEzA==;
In-Reply-To: <76894f6f-551c-470a-93c7-b229c28f8b58@mrabarnett.plus.com>
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQB5dTEjObNK0BICAT6LzvsvxgWIDgFlEn4ts8+h5lA=
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: <06f101da66da$902357f0$b06a07d0$@SGA.Ninja>
X-Mailman-Original-References: <06a301da66be$bfdc0da0$3f9428e0$@SGA.Ninja>
<76894f6f-551c-470a-93c7-b229c28f8b58@mrabarnett.plus.com>
 by: Steve GS - Sat, 24 Feb 2024 04:33 UTC

How do I extract the values
from args?

SGA

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

On 2024-02-24 01:14, Steve GS
via Python-list wrote:
> Python, Tkinter: How do I
> determine if a window has
been
> resized? I want to locate
> buttons vertically along the
> right border and need to
know
> the new width. The buttons
are
> to move with the change of
> location of the right-side
> border.
>
Bind an event handler for
'<Configure>':

----8<----

import tkinter as tk

def on_configure(*args):
print(args)

root = tk.Tk()
root.bind('<Configure>',
on_configure)
root.mainloop()

----8<----

Are you placing the buttons
yourself? I always use layouts
and they handle such things
automatically.

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor