Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The most important thing in a man is not what he knows, but what he is." -- Narciso Yepes


devel / comp.lang.tcl / Repacking changes widget position

SubjectAuthor
* Repacking changes widget positionLuc
`- Repacking changes widget positionLuc

1
Repacking changes widget position

<20221103040632.10ae9fc0@lud1.home>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!O9VxLDnRw6piiiHKbslFsQ.user.46.165.242.75.POSTED!not-for-mail
From: no...@no.no (Luc)
Newsgroups: comp.lang.tcl
Subject: Repacking changes widget position
Date: Thu, 3 Nov 2022 04:06:32 -0300
Organization: Aioe.org NNTP Server
Message-ID: <20221103040632.10ae9fc0@lud1.home>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="35875"; posting-host="O9VxLDnRw6piiiHKbslFsQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
 by: Luc - Thu, 3 Nov 2022 07:06 UTC

I have this window with frames, three stacked frames. I want to be able
to toggle the upper one

if {[winfo ismapped $::topframe]} {
pack forget $::topframe
} else {pack $::topframe -fill both -expand 0}

It works except that the top frame comes back at the bottom.

Is there a smart way to repack it at the top, short of destroying the
parent window and repacking everything again?

--
Luc
>>

Re: Repacking changes widget position

<20221103072047.632474c2@lud1.home>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!O9VxLDnRw6piiiHKbslFsQ.user.46.165.242.75.POSTED!not-for-mail
From: no...@no.no (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: Repacking changes widget position
Date: Thu, 3 Nov 2022 07:20:47 -0300
Organization: Aioe.org NNTP Server
Message-ID: <20221103072047.632474c2@lud1.home>
References: <20221103040632.10ae9fc0@lud1.home>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="2269"; posting-host="O9VxLDnRw6piiiHKbslFsQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
 by: Luc - Thu, 3 Nov 2022 10:20 UTC

Never mind, I found out by myself. The -before option.

Thank you anyway. I'm sure you would have helped
if you had had the chance. :-)

--
Luc
>>

**************************
On Thu, 3 Nov 2022 04:06:32 -0300, Luc wrote:

> I have this window with frames, three stacked frames. I want to be able
> to toggle the upper one
>
> if {[winfo ismapped $::topframe]} {
> pack forget $::topframe
> } else {pack $::topframe -fill both -expand 0}
>
> It works except that the top frame comes back at the bottom.
>
> Is there a smart way to repack it at the top, short of destroying the
> parent window and repacking everything again?
>
************************

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor