Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

No, that'd be silly. -- Larry Wall in <199710221710.KAA24242@wall.org>


devel / comp.lang.tcl / Re: ttk::progressbar can't be disabled ?

SubjectAuthor
* ttk::progressbar can't be disabled ?lamuzz...@gmail.com
`* Re: ttk::progressbar can't be disabled ?Luc
 `* Re: ttk::progressbar can't be disabled ?Luc
  `* Re: ttk::progressbar can't be disabled ?lamuzz...@gmail.com
   `* Re: ttk::progressbar can't be disabled ?Luc
    `* Re: ttk::progressbar can't be disabled ?lamuzz...@gmail.com
     `* Re: ttk::progressbar can't be disabled ?Rich
      +* Re: ttk::progressbar can't be disabled ?lamuzz...@gmail.com
      |`- Re: ttk::progressbar can't be disabled ?Rich
      `* Re: ttk::progressbar can't be disabled ?The Bjornsdottirs - Ellenor
       `- Re: ttk::progressbar can't be disabled ?Luc

1
ttk::progressbar can't be disabled ?

<653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:c25:b0:681:63e0:f199 with SMTP id a5-20020a0562140c2500b0068163e0f199mr127834qvd.11.1705365459037;
Mon, 15 Jan 2024 16:37:39 -0800 (PST)
X-Received: by 2002:a05:6214:d03:b0:680:c1eb:d4a5 with SMTP id
3-20020a0562140d0300b00680c1ebd4a5mr666876qvh.1.1705365458870; Mon, 15 Jan
2024 16:37:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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: Mon, 15 Jan 2024 16:37:38 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=190.139.63.124; posting-account=Cgy5dQoAAADca6APzXXyHNx6hvwj5mk6
NNTP-Posting-Host: 190.139.63.124
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
Subject: ttk::progressbar can't be disabled ?
From: lamuzzac...@gmail.com (lamuzz...@gmail.com)
Injection-Date: Tue, 16 Jan 2024 00:37:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1570
 by: lamuzz...@gmail.com - Tue, 16 Jan 2024 00:37 UTC

Testing this ( 8.6.11 - Win7 32 )

package require Tk

set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
set b [ttk::button .boton -text "Disable pb" -command "$p configure -state disabled" ]
pack $b $p -fill both -expand 1
$p start 5

i get this error

unknown option "-state"
unknown option "-state"
while executing
".progreso configure -state disabled" (...etc ... )

It seems like progressbar can't be disabled (however the documentation doesn't mention this ).
Isn't possible set the state of this widget ?

Alejandro

Re: ttk::progressbar can't be disabled ?

<20240115220623.5c31d516@lud1.home>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc...@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Mon, 15 Jan 2024 22:06:23 -0300
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <20240115220623.5c31d516@lud1.home>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="1d593dbdf8f6fc208f0254a95db3af04";
logging-data="1206386"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s498/W5vt4vc6iHHapxB6XU1QY0GBBtI="
Cancel-Lock: sha1:N3dOq+Ew01VAeg6hqPcSmjinjs4=
 by: Luc - Tue, 16 Jan 2024 01:06 UTC

On Mon, 15 Jan 2024 16:37:38 -0800 (PST), lamuzz...@gmail.com wrote:

>Testing this ( 8.6.11 - Win7 32 )
>
>package require Tk
>
>set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
>set b [ttk::button .boton -text "Disable pb" -command "$p configure -state
>disabled" ] pack $b $p -fill both -expand 1
>$p start 5
>
>i get this error
>
>unknown option "-state"
>unknown option "-state"
> while executing
>".progreso configure -state disabled" (...etc ... )
>
>It seems like progressbar can't be disabled (however the documentation
>doesn't mention this ). Isn't possible set the state of this widget ?
>
>Alejandro
**************************

Maybe this is what you want?

set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
set b [ttk::button .boton -text "Disable pb" -command "$p stop" ]
pack $b $p -fill both -expand 1
$p start 5

--
Luc
>>

Re: ttk::progressbar can't be disabled ?

<20240115221925.141ec871@lud1.home>

  copy mid

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

  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: luc...@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Mon, 15 Jan 2024 22:19:25 -0300
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <20240115221925.141ec871@lud1.home>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="1d593dbdf8f6fc208f0254a95db3af04";
logging-data="1210330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UBCKEkGW4dUoKE8D/hkGzQyqo288H4Yk="
Cancel-Lock: sha1:WaHOr4IS9v4tnRAqPuFcGj0MNJQ=
 by: Luc - Tue, 16 Jan 2024 01:19 UTC

On Mon, 15 Jan 2024 22:06:23 -0300, Luc wrote:

>On Mon, 15 Jan 2024 16:37:38 -0800 (PST), lamuzz...@gmail.com wrote:
>
>>Testing this ( 8.6.11 - Win7 32 )
>>
>>package require Tk
>>
>>set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
>>set b [ttk::button .boton -text "Disable pb" -command "$p configure -state
>>disabled" ] pack $b $p -fill both -expand 1
>>$p start 5
>>
>>i get this error
>>
>>unknown option "-state"
>>unknown option "-state"
>> while executing
>>".progreso configure -state disabled" (...etc ... )
>>
>>It seems like progressbar can't be disabled (however the documentation
>>doesn't mention this ). Isn't possible set the state of this widget ?
>>
>>Alejandro
>**************************
>
>Maybe this is what you want?
>
>set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
>set b [ttk::button .boton -text "Disable pb" -command "$p stop" ]
>pack $b $p -fill both -expand 1
>$p start 5
>
**************************

Also, note that the correct way of setting the state of a progress bar is
$p state disabled

You don't use -configure

So you could do this:

set p [ttk::progressbar .progreso -orient horizontal -mode indeterminate]
set b [ttk::button .boton -text "Disable pb" -command "$p state disabled; puts \"state now is [$p state disabled]\""]
pack $b $p -fill both -expand 1
puts "state is [$p state disabled]"
$p start 5

Now, what purpose this 'state' command ever serves in a progress bar is
beyond me.

--
Luc
>>

Re: ttk::progressbar can't be disabled ?

<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:d03:b0:680:c1eb:d4a5 with SMTP id 3-20020a0562140d0300b00680c1ebd4a5mr688320qvh.1.1705374849088;
Mon, 15 Jan 2024 19:14:09 -0800 (PST)
X-Received: by 2002:ad4:4eaf:0:b0:680:b73c:84f6 with SMTP id
ed15-20020ad44eaf000000b00680b73c84f6mr902872qvb.3.1705374848879; Mon, 15 Jan
2024 19:14:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.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: Mon, 15 Jan 2024 19:14:08 -0800 (PST)
In-Reply-To: <20240115221925.141ec871@lud1.home>
Injection-Info: google-groups.googlegroups.com; posting-host=190.139.63.124; posting-account=Cgy5dQoAAADca6APzXXyHNx6hvwj5mk6
NNTP-Posting-Host: 190.139.63.124
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com>
Subject: Re: ttk::progressbar can't be disabled ?
From: lamuzzac...@gmail.com (lamuzz...@gmail.com)
Injection-Date: Tue, 16 Jan 2024 03:14:09 +0000
Content-Type: text/plain; charset="UTF-8"
 by: lamuzz...@gmail.com - Tue, 16 Jan 2024 03:14 UTC

Hi Luc,

actually i want to disabled it, not stop it.
Using your example, i got first
>> state is
and after click in the button
>> state now is !disabled

by the way, the progressbar remains enabled all time.

Saludos,
Alejandro

Re: ttk::progressbar can't be disabled ?

<20240116012417.12ef66dc@lud1.home>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc...@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Tue, 16 Jan 2024 01:24:17 -0300
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <20240116012417.12ef66dc@lud1.home>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home>
<20240115221925.141ec871@lud1.home>
<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="1d593dbdf8f6fc208f0254a95db3af04";
logging-data="1379020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GzSwr3TL/4JCaLLCufwdSoUmCS45pvxQ="
Cancel-Lock: sha1:NY9ctZwyAaV2Q0GY43lRyit+5v8=
 by: Luc - Tue, 16 Jan 2024 04:24 UTC

On Mon, 15 Jan 2024 19:14:08 -0800 (PST), lamuzz...@gmail.com wrote:

>Hi Luc,
>
>actually i want to disabled it, not stop it.
>Using your example, i got first
>>> state is
>and after click in the button
>>> state now is !disabled
>
>by the way, the progressbar remains enabled all time.
>
>Saludos,
>Alejandro
**************************

What do you mean by "disabled"?

I don't know what a disabled progress bar is.

--
Luc
>>

Re: ttk::progressbar can't be disabled ?

<b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:62c:b0:681:68d8:cee9 with SMTP id a12-20020a056214062c00b0068168d8cee9mr39555qvx.4.1705446653832;
Tue, 16 Jan 2024 15:10:53 -0800 (PST)
X-Received: by 2002:a05:620a:8390:b0:783:6749:ff76 with SMTP id
pb16-20020a05620a839000b007836749ff76mr64966qkn.0.1705446653677; Tue, 16 Jan
2024 15:10:53 -0800 (PST)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.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: Tue, 16 Jan 2024 15:10:53 -0800 (PST)
In-Reply-To: <20240116012417.12ef66dc@lud1.home>
Injection-Info: google-groups.googlegroups.com; posting-host=190.139.63.124; posting-account=Cgy5dQoAAADca6APzXXyHNx6hvwj5mk6
NNTP-Posting-Host: 190.139.63.124
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home>
<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com> <20240116012417.12ef66dc@lud1.home>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com>
Subject: Re: ttk::progressbar can't be disabled ?
From: lamuzzac...@gmail.com (lamuzz...@gmail.com)
Injection-Date: Tue, 16 Jan 2024 23:10:53 +0000
Content-Type: text/plain; charset="UTF-8"
 by: lamuzz...@gmail.com - Tue, 16 Jan 2024 23:10 UTC

>>> What do you mean by "disabled"?
>>> I don't know what a disabled progress bar is

Well, is like a disabled button ... but with progressbar.
May be this is a silly question but jokes aside, is still valid.
Saludos,
Alejandro

Re: ttk::progressbar can't be disabled ?

<uo7eu8$1qojk$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Wed, 17 Jan 2024 02:44:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uo7eu8$1qojk$1@dont-email.me>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com> <20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home> <1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com> <20240116012417.12ef66dc@lud1.home> <b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com>
Injection-Date: Wed, 17 Jan 2024 02:44:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b6e531e77a61339c8259826e038e8aba";
logging-data="1925748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JW9pdLaon9LT0EjnN5eCe"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:t6jT680pxXssrklbVu1W7KciIu4=
 by: Rich - Wed, 17 Jan 2024 02:44 UTC

lamuzz...@gmail.com <lamuzzachiodi@gmail.com> wrote:
>>>> What do you mean by "disabled"?
>>>> I don't know what a disabled progress bar is
>
> Well, is like a disabled button ... but with progressbar.
> May be this is a silly question but jokes aside, is still valid.
> Saludos,
> Alejandro

Except that "disabled" is an odd state to reason about for a "progress
bar".

Buttons are active items that accept user interaction (click on
button). "Disablement" for a button makes sense as it prevents
"activation" of the button until it is later enabled.

A progress bar (at least a normal one) is a "one-way" widget. It
conveys information to a user, but there is usually no "interaction"
from the user (no clicking on the bar to do something). Therefore,
with no "interaction", there is nothing to "disable", and setting it to
"disabled" is an odd state to ask about.

Re: ttk::progressbar can't be disabled ?

<1fb05f4a-aa30-44a0-8216-30738ef23513n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:d07:b0:681:7883:7880 with SMTP id 7-20020a0562140d0700b0068178837880mr134700qvh.13.1705462786867;
Tue, 16 Jan 2024 19:39:46 -0800 (PST)
X-Received: by 2002:a05:6214:1cca:b0:681:566d:e0af with SMTP id
g10-20020a0562141cca00b00681566de0afmr726177qvd.1.1705462786578; Tue, 16 Jan
2024 19:39:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!border-1.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: Tue, 16 Jan 2024 19:39:46 -0800 (PST)
In-Reply-To: <uo7eu8$1qojk$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=190.139.63.124; posting-account=Cgy5dQoAAADca6APzXXyHNx6hvwj5mk6
NNTP-Posting-Host: 190.139.63.124
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home>
<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com> <20240116012417.12ef66dc@lud1.home>
<b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com> <uo7eu8$1qojk$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1fb05f4a-aa30-44a0-8216-30738ef23513n@googlegroups.com>
Subject: Re: ttk::progressbar can't be disabled ?
From: lamuzzac...@gmail.com (lamuzz...@gmail.com)
Injection-Date: Wed, 17 Jan 2024 03:39:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 13
 by: lamuzz...@gmail.com - Wed, 17 Jan 2024 03:39 UTC

El martes, 16 de enero de 2024 a la(s) 11:44:28 p.m. UTC-3, Rich escribió:

>> Buttons are active items that accept user interaction (click on
>> button). "Disablement" for a button makes sense as it prevents
>> "activation" of the button until it is later enabled.

Ok, but what about labels then ?.
You can to configure the state of labels to "disabled" or "readonly", for example.
How the user interact with a label ?
Odd?. May be. But you can disable a label if you want ...

Alejandro

Re: ttk::progressbar can't be disabled ?

<uo7nkf$1s053$2@dont-email.me>

  copy mid

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

  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: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Wed, 17 Jan 2024 05:12:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uo7nkf$1s053$2@dont-email.me>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com> <20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home> <1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com> <20240116012417.12ef66dc@lud1.home> <b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com> <uo7eu8$1qojk$1@dont-email.me> <1fb05f4a-aa30-44a0-8216-30738ef23513n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 05:12:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b6e531e77a61339c8259826e038e8aba";
logging-data="1966243"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19F36Wqtos81J2WLGtzl0pd"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:oerVJmeRCrZBfAc+28AocxX0cAo=
 by: Rich - Wed, 17 Jan 2024 05:12 UTC

lamuzz...@gmail.com <lamuzzachiodi@gmail.com> wrote:
> El martes, 16 de enero de 2024 a la(s) 11:44:28 p.m. UTC-3, Rich escribió:
>
>>> Buttons are active items that accept user interaction (click on
>>> button). "Disablement" for a button makes sense as it prevents
>>> "activation" of the button until it is later enabled.
>
> Ok, but what about labels then ?.
> You can to configure the state of labels to "disabled" or "readonly", for example.
> How the user interact with a label ?
> Odd?. May be. But you can disable a label if you want ...

Ok, that's fair. No interaction with a label, but it can still be
disabled.

And..., I should have consulted the docs before replying previously:

For ttk widgets, disablement is one of the "state" flags that is
controled by the 'state' sub-command, not by 'configure -state' like
with traditional Tk widgets:

$ rlwrap wish
% ttk::progressbar .pb
.pb
% .pb state
% .pb state disabled
!disabled
% .pb state
disabled
%

Read about it in the progressbar man page and the ttk::widget man page.

Re: ttk::progressbar can't be disabled ?

<uoah0b$22fe7$5@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: zer...@umbrellix.net (The Bjornsdottirs - Ellenor)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Thu, 18 Jan 2024 06:38:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uoah0b$22fe7$5@dont-email.me>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home> <20240115221925.141ec871@lud1.home>
<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com>
<20240116012417.12ef66dc@lud1.home>
<b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com>
<uo7eu8$1qojk$1@dont-email.me>
Reply-To: zerda@umbrellix.net
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Jan 2024 06:38:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8d1a7f885811a6f1f3534851a76e5755";
logging-data="2178503"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LIektRI5mM8XLvcE21Gsn/g2K9Jq7Or9JXn1a3+24Bw=="
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:o8G3WU9kAZjjE6hwz2LjZNuIsFE=
 by: The Bjornsdottirs - - Thu, 18 Jan 2024 06:38 UTC

On Wed, 17 Jan 2024 02:44:24 -0000 (UTC), Rich wrote:

> lamuzz...@gmail.com <lamuzzachiodi@gmail.com> wrote:
>>>>> What do you mean by "disabled"?
>>>>> I don't know what a disabled progress bar is
>>
>> Well, is like a disabled button ... but with progressbar.
>> May be this is a silly question but jokes aside, is still valid.
>> Saludos,
>> Alejandro
>
> Except that "disabled" is an odd state to reason about for a "progress
> bar".
>
> Buttons are active items that accept user interaction (click on button).
> "Disablement" for a button makes sense as it prevents "activation" of
> the button until it is later enabled.
>
> A progress bar (at least a normal one) is a "one-way" widget. It
> conveys information to a user, but there is usually no "interaction"
> from the user (no clicking on the bar to do something). Therefore, with
> no "interaction", there is nothing to "disable", and setting it to
> "disabled" is an odd state to ask about.

Disabled progress bars are sometimes used if a task has finished or is
suspended. They should be shown differently to non-disabled progress bars.

Sometimes, progress bars are overlaid with an invisible slider widget. (I
don't recommend this, it's hard to get right.) Disabled would mean
disabling that invisible slider, in that case.

--
Ellenor Bjornsdottir <zerda@umbrellix.net> Pan makes it quite difficult to
set a multi-line signature. Some say it should be that way. Most of those
people already have us on their killfile.

Re: ttk::progressbar can't be disabled ?

<20240118141206.4588255d@lud1.home>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: luc...@sep.invalid (Luc)
Newsgroups: comp.lang.tcl
Subject: Re: ttk::progressbar can't be disabled ?
Date: Thu, 18 Jan 2024 14:12:06 -0300
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20240118141206.4588255d@lud1.home>
References: <653aace6-7e0f-4b51-8653-ce635cec5527n@googlegroups.com>
<20240115220623.5c31d516@lud1.home>
<20240115221925.141ec871@lud1.home>
<1cf1cf6a-91f6-4c55-8b5c-9a9be30d29e2n@googlegroups.com>
<20240116012417.12ef66dc@lud1.home>
<b97d1b19-22aa-4290-aa33-7e0342d05a85n@googlegroups.com>
<uo7eu8$1qojk$1@dont-email.me>
<uoah0b$22fe7$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="d8a374f3fd45ffb74a57d4cb762a1d2a";
logging-data="2822221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rzNKF2DED9fT9Kd1PGry8dqtBzOuKgoI="
Cancel-Lock: sha1:qPx0GGIanH3HY5n6TK7hZSxI0LI=
 by: Luc - Thu, 18 Jan 2024 17:12 UTC

On Thu, 18 Jan 2024 06:38:04 -0000 (UTC), The Bjornsdottirs - Ellenor wrote:

>Disabled progress bars are sometimes used if a task has finished or is
>suspended. They should be shown differently to non-disabled progress bars.
>
>Sometimes, progress bars are overlaid with an invisible slider widget. (I
>don't recommend this, it's hard to get right.) Disabled would mean
>disabling that invisible slider, in that case.

Your words make sense to me, but the whole won't until someone explains
how that "disabled" state is different from a stopped progress bar.

--
Luc
>>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor