Re: Dark mode support for ttk native Windows theme?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Dark mode support for ttk native Windows theme?
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tcl
Date : 03. May 2025, 16:16:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vv5bvr$3pgu2$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
Am 03.05.2025 um 12:58 schrieb undroidwish:
On 5/3/25 11:27, nemethi wrote:
Am 02.05.25 um 23:45 schrieb undroidwish:
On 5/2/25 21:50, nemethi wrote:
>
The xpnative and vista themes are implemented using the now hopelessly outdated UxTheme system, which - unfortunately - doesn't provide any "dark mode" support.
>
Howdy Csaba,
>
out of curiosity, what are the contemporary alternatives?
In Win32 native sense, i.e. without Tk and ttk themery.
>
BR
Christian
>
>
Hi Christian,
>
I am (and have never been) a Windows expert, hence I am for sure not competent enough to answer this question.  But:
>
The Windows 11 system UI is based on the Fluent design system, using the relatively new WinUI library.  This makes me to conclude that this library is currently the right choice for new developments on Windows.
 Thanks for the info, so I found this example:
   https://github.com/driver1998/WinUI-MinGW
 Ugh, XAML, C++ with lambada and coroutines, and whatnot.
For my share another little shop of horror compared to Tk.
 Thanks again,
Christian
Hi Csaba, Hi Christian,
yes, recent Windows UI requires the .net machinery to my knowledge.
Due to that, most real programs still use the old one.
But what would be doable IMHO:
- have a global platform independent switch "dark mode/light mode", which is initialized in a platform-dependent way and may be changed (like "tk scaling").
- provide this state to all themes
- adopt the standard themes to support a dark mode
Any Windows App with dark mode does not look like Windows any more.
The "look and Feel" is not unified.
Is this possible thinking ?
THanks for all,
Harald

Date Sujet#  Auteur
30 Apr 25 * Dark mode support for ttk native Windows theme?13Eric Brunel
1 May 25 `* Re: Dark mode support for ttk native Windows theme?12Kevin Walzer
2 May 25  +* Re: Dark mode support for ttk native Windows theme?10Harald Oehlmann
2 May 25  i+* Re: Dark mode support for ttk native Windows theme?3Eric Brunel
2 May 25  ii`* Re: Dark mode support for ttk native Windows theme?2Harald Oehlmann
3 May 25  ii `- Re: Dark mode support for ttk native Windows theme?1Harald Oehlmann
2 May 25  i`* Re: Dark mode support for ttk native Windows theme?6nemethi
2 May 25  i `* Re: Dark mode support for ttk native Windows theme?5undroidwish
3 May 25  i  `* Re: Dark mode support for ttk native Windows theme?4nemethi
3 May 25  i   +* Re: Dark mode support for ttk native Windows theme?2undroidwish
3 May 25  i   i`- Re: Dark mode support for ttk native Windows theme?1Harald Oehlmann
3 May 25  i   `- Re: Dark mode support for ttk native Windows theme?1nemethi
2 May 25  `- Re: Dark mode support for ttk native Windows theme?1Eric Brunel

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal