git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-gui: use themed tk widgets with Tk 8.5

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 20, 2009, 19:04 UTC
Message-ID
<7vws0ha2mt.fsf@alter.siamese.dyndns.org>
In-Reply-To
<a5b261830912200723s131f0b93w2f5ab94f19faf86a@mail.gmail.com>
Pat Thoyts <patthoyts@googlemail.com> writes:
Show 17 quoted lines
> 2009/12/20 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
>>>
>>>  On Windows and MacOSX ttk defaults to the native look as much as possible.
>>>  On X11 the user may select a theme using the TkTheme XRDB resource class.
>>
>> Maybe you could describe a quick way to set that resource?
>
> echo '*TkTheme: clam' | xrdb -merge -
>
> Or edit ~/.Xdefaults or maybe ~/.Xresources to add a line containing
>  *TkTheme: clam
> Used to be the X resource database was the way to customize X11. The
> builtin themes are:
> default: thin borders, kind of windows98ish
> classic: motif style
> alt: more windowsy still.
> clam: based on some version of the XFCE look a few years ago.

On X, does the "default: thin borders, kind of windows98ish" look very different from the non-themed classic Tk style?

What I am trying to get at is to gain enough information so that I can suggest a rewrite of these two lines (quoted at the beginning by Dscho) like this:

   Ttk defaults to the native look as much as possible on Windows and
   MacOSX; the default on X is the _________ look.
   The user may choose a theme by:
   - on Windows, doing ________;
   - on MacOSX, doing _________;
   - on X, selecting a theme using the TkTheme XRDB resource class;
which I think would be much easier to read.
Previous: Pat ThoytsNext: Pat Thoyts
Message 4 of 6 in “git-gui: use themed tk widgets with Tk 8.5”
  1. git-gui: use themed tk widgets with Tk 8.5Pat Thoyts, Dec 20, 2009
  2. Johannes SchindelinDec 20, 2009
  3. Pat ThoytsDec 20, 2009
  4. Junio C HamanoDec 20, 2009
  5. Pat ThoytsDec 20, 2009
  6. Junio C HamanoDec 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.