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?
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
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 970 |
Nodes: | 10 (2 / 8) |
Uptime: | 103:27:21 |
Calls: | 12,740 |
Calls today: | 2 |
Files: | 186,574 |
Messages: | 3,171,625 |