[PATCH] hgk: use Ttk instead of plain Tk

Mads Kiilerich mads at kiilerich.com
Wed Nov 7 12:13:33 CST 2012


On 07/11/12 16:14, Andrew Shadura wrote:
> # HG changeset patch
> # User Andrew Shadura <bugzilla at tut.by>
> # Date 1350392091 -7200
> # Node ID d70995b635b3558c6ffdc85e46286f7e529a681d
> # Parent  9837cafc25b10c51659b65b5971622eab0bc9197
> hgk: use Ttk instead of plain Tk
>
> Use Ttk for most of the widgets. Default to xpnative theme on Windows,
> clam otherwise.

What is Ttk? Is it available on all Tk installations? Or how widely 
available is it? Did it ship with Python 2.4 which Mercurial still supports?

hgk is^H^Hwas very dead and outdated. You have already almost doubled 
the number of patches it has received in 5 years. If it is used anywhere 
then it is probably primarily out of necessity by users with old systems 
that cannot be updated and thus can't run the qt based UIs. It thus 
makes sense to be very conservative and make sure we don't break that 
use case.

/Mads



More information about the Mercurial-devel mailing list