Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Your step will soil many countries.


comp / comp.lang.tcl / Re: tk and ttk cursor blink

SubjectAuthor
* tk and ttk cursor blinkMark Summerfield
`* Re: tk and ttk cursor blinkFrancois Vogel
 `- Re: tk and ttk cursor blinkMark Summerfield

1
Subject: tk and ttk cursor blink
From: Mark Summerfield
Newsgroups: comp.lang.tcl
Date: Wed, 5 Jun 2024 07:02 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-2.nntp.ord.giganews.com!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!local-4.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 05 Jun 2024 07:02:29 +0000
From: mark@qtrac.eu (Mark Summerfield)
Subject: tk and ttk cursor blink
Newsgroups: comp.lang.tcl
MIME-Version: 1.0
User-Agent: Pan/0.154 (Izium; 517acf4)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <RomdnbmeiLMYkP37nZ2dnZfqn_qdnZ2d@brightview.co.uk>
Date: Wed, 05 Jun 2024 07:02:29 +0000
Lines: 19
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-T3g65+0iBHRtZ21YKxHIbIO9F7ZGf6BUx99ZCnrNmV2YwNjJL1MjU9F7ecmQOzXDzyV87i6bXxtZdam!nwqBAdOhjOouMUfH2Ij6sqF1YAY+rb4JCseF+sQDweBm+RjQH18dlh+CxUApQ3wcgAlMHNgUJul0!AMcMbOCWB+tefLrxzEJZ9eqSiQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

According to https://core.tcl-lang.org/tips/doc/trunk/tip/675.md it is now
possible to control cursor blink in ttk widgets.

I often use both tk and ttk widgets (e.g., tk.text and ttk.entry) and
don't want cursor blink in either.

My understanding is that to achieve this I should now start my
applications with these lines, the first for tk widgets and the second for
ttk widgets:

```
option add *insertOffTime 0
ttk::style configure . -insertofftime 0
```

Is this correct, or is there a better way?

PS I know that most people find blinking cursors very helpful, but some
people cannot work with them, see, e.g., https://jurta.org/en/prog/noblink

Subject: Re: tk and ttk cursor blink
From: Francois Vogel
Newsgroups: comp.lang.tcl
Organization: Guest of ProXad - France
Date: Wed, 5 Jun 2024 19:00 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp6-1.free.fr!not-for-mail
Date: Wed, 5 Jun 2024 21:00:08 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: tk and ttk cursor blink
To: Mark Summerfield <mark@qtrac.eu>
Newsgroups: comp.lang.tcl
References: <RomdnbmeiLMYkP37nZ2dnZfqn_qdnZ2d@brightview.co.uk>
Content-Language: en-US
From: francois.vogel.fv.NOSPAM@gmail.com (Francois Vogel)
In-Reply-To: <RomdnbmeiLMYkP37nZ2dnZfqn_qdnZ2d@brightview.co.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Antivirus: Avast (VPS 240605-4, 5/6/2024), Outbound message
X-Antivirus-Status: Clean
Lines: 23
Message-ID: <6660b5ba$0$7543$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 05 Jun 2024 21:00:10 CEST
NNTP-Posting-Host: 82.65.57.56
X-Trace: 1717614010 news-1.free.fr 7543 82.65.57.56:62167
X-Complaints-To: abuse@proxad.net
View all headers

Le 05/06/2024 à 09:02, Mark Summerfield a écrit :
> According to https://core.tcl-lang.org/tips/doc/trunk/tip/675.md it is now
> possible to control cursor blink in ttk widgets.
>
> I often use both tk and ttk widgets (e.g., tk.text and ttk.entry) and
> don't want cursor blink in either.
>
> My understanding is that to achieve this I should now start my
> applications with these lines, the first for tk widgets and the second for
> ttk widgets:
>
> ```
> option add *insertOffTime 0
> ttk::style configure . -insertofftime 0
> ```
>
> Is this correct, or is there a better way?

Yes, I would say that's correct.

Regards,
Francois

Subject: Re: tk and ttk cursor blink
From: Mark Summerfield
Newsgroups: comp.lang.tcl
Date: Thu, 6 Jun 2024 07:31 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 06 Jun 2024 07:31:11 +0000
From: mark@qtrac.eu (Mark Summerfield)
Subject: Re: tk and ttk cursor blink
Newsgroups: comp.lang.tcl
References: <RomdnbmeiLMYkP37nZ2dnZfqn_qdnZ2d@brightview.co.uk>
<6660b5ba$0$7543$426a74cc@news.free.fr>
MIME-Version: 1.0
User-Agent: Pan/0.154 (Izium; 517acf4)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <T6ydndWxHMEi-Pz7nZ2dnZfqn_idnZ2d@brightview.co.uk>
Date: Thu, 06 Jun 2024 07:31:11 +0000
Lines: 24
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-JsyFTLIQEuzYizRvrX97DcnPnyb1fejD4T2zySg1cvxHMSLSFTBntD/WixOiOrBlz5nlm7nuXjz8D5l!fQAcD9nI9dCyXqyJgccz1DxnCUTRh4jPAUYqxvMoudaUJnxXGZ4UQjISTLTefbs9PXtZ6ld8t79L!bqkwu2ehOS4vawNfzbdxdNGFvg==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On Wed, 5 Jun 2024 21:00:08 +0200, Francois Vogel wrote:

> Le 05/06/2024 à 09:02, Mark Summerfield a écrit :
>> According to https://core.tcl-lang.org/tips/doc/trunk/tip/675.md it is
>> now possible to control cursor blink in ttk widgets.
>>
>> I often use both tk and ttk widgets (e.g., tk.text and ttk.entry) and
>> don't want cursor blink in either.
>>
>> My understanding is that to achieve this I should now start my
>> applications with these lines, the first for tk widgets and the second
>> for ttk widgets:
>>
>> ```
>> option add *insertOffTime 0 ttk::style configure . -insertofftime 0 ```
>>
>> Is this correct, or is there a better way?
>
> Yes, I would say that's correct.
>
> Regards,
> Francois

Thanks.

1

rocksolid light 0.9.8
clearnet tor