Has anybody tried the Awesome ttk themes by rdbende ?
https://github.com/rdbende
I am currently using a lot the AWThemes. As Brad has left us, this may
be a successor ?
I'd tried rdbende's themes. Very good themes.
Though, I've found some issues. So, I tried to resolve them, here:
https://github.com/aplsimple/ale_themes
There are docs and demos which hopefully will speak better.
License is MIT, so you can try and modify them as well.
Harald Oehlmann schrieb am Sonntag, 6. Februar 2022 um 13:48:27 UTC+1:
Has anybody tried the Awesome ttk themes by rdbende ?
https://github.com/rdbende
I am currently using a lot the AWThemes. As Brad has left us, this may
be a successor ?
Thank you all,
Harald
Awesome! But it makes my GUI slow. Why? I can see how buttons are packed one after another.
Without it, the effect is not perciptible.
Also when I scale the window, I can see how the geometry manager redraws the widgets.
Has anybody tried the Awesome ttk themes by rdbende ?
https://github.com/rdbende
I am currently using a lot the AWThemes. As Brad has left us, this may
be a successor ?
Thank you all,
Harald
Am 07.02.2022 um 14:34 schrieb Alexandru:
Harald Oehlmann schrieb am Sonntag, 6. Februar 2022 um 13:48:27 UTC+1:
Has anybody tried the Awesome ttk themes by rdbende ?
https://github.com/rdbende
I am currently using a lot the AWThemes. As Brad has left us, this may
be a successor ?
Thank you all,
Harald
Awesome! But it makes my GUI slow. Why? I can see how buttons are packed one after another.Alexandru,
Without it, the effect is not perciptible.
Also when I scale the window, I can see how the geometry manager redraws the widgets.
great, that you tried it. To my knowledge, all clam-based themes are
slow on Windows. But on Android, it is ok.
Do you see the same speed issue with AWDark ?
Thank you,
Harald
Alexandru, Harald,
These themes are graphical - as noted in https://wiki.tcl-lang.org/page/List+of+ttk+Themes .
They use png files heavily.
Hence there may be troubles with the performance & scaling.
However, I'm not experiencing them even on 13 year old x86 device.
Am 07.02.22 um 19:22 schrieb Alex P:So what would be the solution to the performance issue on Windows?
Alexandru, Harald,
These themes are graphical - as noted in https://wiki.tcl-lang.org/page/List+of+ttk+Themes .
They use png files heavily.
Hence there may be troubles with the performance & scaling.
However, I'm not experiencing them even on 13 year old x86 device.I guess you are using Linux. I've noticed that the graphical themes
perform quite badly on macOS and Windows, compared to Linux, where they
are a noticeably slower, but not that bad. Perhaps the bitmap part of
ttk is not that great, considering that the other engines like QT work
very smoothly on all OSes.
Christian
Am 08.02.2022 um 05:11 schrieb Alexandru:
Christian Gollwitzer schrieb am Montag, 7. Februar 2022 um 19:58:46 UTC+1:Well, tk and ttk was always a X11 extension ported to Windows. The performance is always poor on Windows. The less poor are the native themes. For fun, you can take the same machine with Linux and Windows. You will
Am 07.02.22 um 19:22 schrieb Alex P:So what would be the solution to the performance issue on Windows?
Alexandru, Harald,I guess you are using Linux. I've noticed that the graphical themes
These themes are graphical - as noted in https://wiki.tcl-lang.org/page/List+of+ttk+Themes .
They use png files heavily.
Hence there may be troubles with the performance & scaling.
However, I'm not experiencing them even on 13 year old x86 device.
perform quite badly on macOS and Windows, compared to Linux, where they
are a noticeably slower, but not that bad. Perhaps the bitmap part of
ttk is not that great, considering that the other engines like QT work
very smoothly on all OSes.
Christian
see around 30%-300% less speed on Windows.
It is as it is...
Take care,
Harald
Christian Gollwitzer schrieb am Montag, 7. Februar 2022 um 19:58:46 UTC+1:
Am 07.02.22 um 19:22 schrieb Alex P:So what would be the solution to the performance issue on Windows?
Alexandru, Harald,I guess you are using Linux. I've noticed that the graphical themes
These themes are graphical - as noted in https://wiki.tcl-lang.org/page/List+of+ttk+Themes .
They use png files heavily.
Hence there may be troubles with the performance & scaling.
However, I'm not experiencing them even on 13 year old x86 device.
perform quite badly on macOS and Windows, compared to Linux, where they
are a noticeably slower, but not that bad. Perhaps the bitmap part of
ttk is not that great, considering that the other engines like QT work
very smoothly on all OSes.
Christian
So it's the core implementation that is not optimized for Windows.
The standard themes are not slow. At least not perciptible by user.
The AWdark theme is also not slower than the standard theme.
I think there should be a substantial effort to make Tcl/Tk faster with respect to this matter.
Otherwise it will be sooner "dead" than we want.
Since I'm not a true programmer, I'm afrait I cannot contribute with a fix.
Alexandru,
A bit (or lot:) of efforts need to make Tcl/Tk GUI programs behave responsive and friendly.
Let me recommend you a great source of knowledge:
https://wiki.tcl-lang.org/
---------------------------------------
Specifically, as for troubles with the slow display of windows, Tcl/Tk gurus recommend this way of layout & display windows:
package require Tk
# ...
wm withdraw .
# ...
set window [toplevel .win] ;# or some other way to make the window
wm withdraw $window
pack [ttk::button $window.but1 -text "Button 1"]
# ... other pack & grid
# ... wm minsize $window $width $height
# ... wm geometry $window $newGeometry
# e.g. ... wm geometry $window 100x50+300+100
# ... other wm commands
# ... other initial actions
wm deiconify $window
In Windows you can use also
wm attributes $window -alpha 0.0
wm attributes $window -alpha 1.0
instead of "wm withdraw" and "wm deiconify" accordingly.
For Macs, they recommend "raise" command instead of "wm deiconify".
This way you
1. make your window hidden
2. pack & grid your widgets in the window
3. display the window
Thus, a user doesn't see the packing/gridding (which otherwise may be visible, generally).
Also, your window is displayed with your preferred dimensions/minsizes, all easily saved/restored to/from a config file.
---------------------------------------
All the same, use
https://wiki.tcl-lang.org/
It's an ocean of Tcl/Tk info. Dive into it!
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 30:13:09 |
| Calls: | 12,108 |
| Calls today: | 8 |
| Files: | 15,006 |
| Messages: | 6,518,257 |