Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

A pain in the ass of major dimensions. -- C. A. Desoer, on the solution of non-linear circuits


devel / comp.lang.tcl / Re: packing question

SubjectAuthor
* packing questionMark Tarver
+* Re: packing questionRalf Fassel
|`- Re: packing questionMark Tarver
`* Re: packing questionRich
 `- Re: packing questionMark Tarver

1
packing question

<0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13276&group=comp.lang.tcl#13276

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:7e94:0:b0:42b:8f1e:dc6c with SMTP id w20-20020ac87e94000000b0042b8f1edc6cmr76056qtj.12.1706864770776;
Fri, 02 Feb 2024 01:06:10 -0800 (PST)
X-Received: by 2002:a05:622a:612:b0:42b:f5b0:36aa with SMTP id
z18-20020a05622a061200b0042bf5b036aamr17410qta.6.1706864770315; Fri, 02 Feb
2024 01:06:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Fri, 2 Feb 2024 01:06:10 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=86.28.97.229; posting-account=kJbRXgoAAADVvCa8xCOuqxtZ-KSaXUAS
NNTP-Posting-Host: 86.28.97.229
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com>
Subject: packing question
From: dr.mtarver@gmail.com (Mark Tarver)
Injection-Date: Fri, 02 Feb 2024 09:06:10 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mark Tarver - Fri, 2 Feb 2024 09:06 UTC

I've packed some buttons pack .b1 .b2 -side left.
A bit later I want to pack .b3 and .b4 also from left to right
but below .b3 and .b4. I don't want to use grid.
But pack .b3 .b4 - side left packs in a single row.
How do I get a 'new line' in there?

Mark

Re: packing question

<yga4jernrpi.fsf@panther.akutech-local.de>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13277&group=comp.lang.tcl#13277

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ralfixx@gmx.de (Ralf Fassel)
Newsgroups: comp.lang.tcl
Subject: Re: packing question
Date: Fri, 02 Feb 2024 10:25:13 +0100
Lines: 27
Message-ID: <yga4jernrpi.fsf@panther.akutech-local.de>
References: <0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net 44O6GcE8Nf8z5zMcfA40KwhOXfePuMVlzu+rdA/4pWTccWnnM=
Cancel-Lock: sha1:Ik80KLMgyok+wtS4eFUW3KNXmuo= sha1:qo0H0QejxtEOfga61pGz16PZcNU= sha256:nNU01D/3us7cEbO2NsgXzht/qy9cUsOMmoHFIZFUTag=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
 by: Ralf Fassel - Fri, 2 Feb 2024 09:25 UTC

* Mark Tarver <dr.mtarver@gmail.com>
| I've packed some buttons pack .b1 .b2 -side left.
| A bit later I want to pack .b3 and .b4 also from left to right
| but below .b3 and .b4. I don't want to use grid.
| But pack .b3 .b4 - side left packs in a single row.
| How do I get a 'new line' in there?

Using grid would be the simplest way, but if you don't want to use grid,
you need to use "helper frames":

---frame1--------
button1 | button2
-----------------
---frame2--------
button3 | button4
-----------------

pack [frame .f1] -side top -fill both -expand yes
pack [button .f1.b1 -text F1B1] -side left -fill both -expand yes
pack [button .f1.b2 -text F1B2] -side left -fill both -expand yes

pack [frame .f2] -side top -fill both -expand yes
pack [button .f2.b3 -text F2B3] -side left -fill both -expand yes
pack [button .f2.b4 -text F2B4] -side left -fill both -expand yes

HTH
R'

Re: packing question

<d599dd20-0a8e-49bb-a1a5-a21a6afa2932n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13278&group=comp.lang.tcl#13278

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:5ce:b0:42c:75f:1fc6 with SMTP id d14-20020a05622a05ce00b0042c075f1fc6mr28168qtb.9.1706868198194;
Fri, 02 Feb 2024 02:03:18 -0800 (PST)
X-Received: by 2002:ac8:7d91:0:b0:42b:f8ef:9d40 with SMTP id
c17-20020ac87d91000000b0042bf8ef9d40mr19132qtd.9.1706868197913; Fri, 02 Feb
2024 02:03:17 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.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.tcl
Date: Fri, 2 Feb 2024 02:03:17 -0800 (PST)
In-Reply-To: <yga4jernrpi.fsf@panther.akutech-local.de>
Injection-Info: google-groups.googlegroups.com; posting-host=86.28.97.229; posting-account=kJbRXgoAAADVvCa8xCOuqxtZ-KSaXUAS
NNTP-Posting-Host: 86.28.97.229
References: <0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com> <yga4jernrpi.fsf@panther.akutech-local.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d599dd20-0a8e-49bb-a1a5-a21a6afa2932n@googlegroups.com>
Subject: Re: packing question
From: dr.mtarver@gmail.com (Mark Tarver)
Injection-Date: Fri, 02 Feb 2024 10:03:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2263
 by: Mark Tarver - Fri, 2 Feb 2024 10:03 UTC

On Friday 2 February 2024 at 09:25:20 UTC, Ralf Fassel wrote:
> * Mark Tarver <dr.mt...@gmail.com>
> | I've packed some buttons pack .b1 .b2 -side left.
> | A bit later I want to pack .b3 and .b4 also from left to right
> | but below .b3 and .b4. I don't want to use grid.
> | But pack .b3 .b4 - side left packs in a single row.
> | How do I get a 'new line' in there?
> Using grid would be the simplest way, but if you don't want to use grid,
> you need to use "helper frames":
>
> ---frame1--------
> button1 | button2
> -----------------
> ---frame2--------
> button3 | button4
> -----------------
>
> pack [frame .f1] -side top -fill both -expand yes
> pack [button .f1.b1 -text F1B1] -side left -fill both -expand yes
> pack [button .f1.b2 -text F1B2] -side left -fill both -expand yes
>
> pack [frame .f2] -side top -fill both -expand yes
> pack [button .f2.b3 -text F2B3] -side left -fill both -expand yes
> pack [button .f2.b4 -text F2B4] -side left -fill both -expand yes
>
> HTH
> R'

I thought that might be the case. My new question is in the next thread.

thx

Mark

Re: packing question

<upim96$2jftv$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13280&group=comp.lang.tcl#13280

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: packing question
Date: Fri, 2 Feb 2024 12:13:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <upim96$2jftv$1@dont-email.me>
References: <0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com>
Injection-Date: Fri, 2 Feb 2024 12:13:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cab1c1f7a0cbaabce89bd2eccb2c51b2";
logging-data="2736063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fFkhkTndSygo8CxLRK2HX"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:UjZZKN2HoMmm1NejuviAxmil/lM=
 by: Rich - Fri, 2 Feb 2024 12:13 UTC

Mark Tarver <dr.mtarver@gmail.com> wrote:
> A bit later I want to pack .b3 and .b4 also from left to right
> but below .b3 and .b4. I don't want to use grid.

Might I ask why you don't want to use grid. It (grid) is often the
easiest way to achieve most widget layouts one wants to produce.

Re: packing question

<97061c35-f5ab-4b5c-be1d-79b36c111c72n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=13282&group=comp.lang.tcl#13282

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:40c9:b0:785:3882:50fd with SMTP id g9-20020a05620a40c900b00785388250fdmr34008qko.7.1706877073032;
Fri, 02 Feb 2024 04:31:13 -0800 (PST)
X-Received: by 2002:a05:620a:1a19:b0:783:f7c1:5743 with SMTP id
bk25-20020a05620a1a1900b00783f7c15743mr62350qkb.4.1706877072755; Fri, 02 Feb
2024 04:31:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Fri, 2 Feb 2024 04:31:12 -0800 (PST)
In-Reply-To: <upim96$2jftv$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=86.28.97.229; posting-account=kJbRXgoAAADVvCa8xCOuqxtZ-KSaXUAS
NNTP-Posting-Host: 86.28.97.229
References: <0ebb56a0-1214-4018-85b2-496e7f8ef032n@googlegroups.com> <upim96$2jftv$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <97061c35-f5ab-4b5c-be1d-79b36c111c72n@googlegroups.com>
Subject: Re: packing question
From: dr.mtarver@gmail.com (Mark Tarver)
Injection-Date: Fri, 02 Feb 2024 12:31:13 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Mark Tarver - Fri, 2 Feb 2024 12:31 UTC

On Friday 2 February 2024 at 12:13:31 UTC, Rich wrote:
> Mark Tarver <dr.mt...@gmail.com> wrote:
> > A bit later I want to pack .b3 and .b4 also from left to right
> > but below .b3 and .b4. I don't want to use grid.
> Might I ask why you don't want to use grid. It (grid) is often the
> easiest way to achieve most widget layouts one wants to produce.

See my last post to my most recent thread. It wasn't working, but
not because I got the grid command wrong but because of a background
process that had not died. Now my stuff gets through.

Mark

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor