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
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 28, 2010, 00:51 UTC
Message-ID
<20100128005142.GK5452@spearce.org>
In-Reply-To
<878wbln0oa.fsf@users.sourceforge.net>
Pat Thoyts <patthoyts@users.sourceforge.net> wrote:
Show 16 quoted lines
> 
> This patch enables the use of themed Tk widgets with Tk 8.5 and above.
> These make a significant difference on Windows in making the
> application appear native. 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 by adding an line to the
> .Xresources file. The set of installed theme names is available using
> the Tk command 'ttk::themes'. The default on X11 is similar to the current
> un-themed style - a kind of thin bordered motif look.
> 
> A new git config variable 'gui.usettk' may be set to disable this if
> the user prefers the classic Tk look. Using Tk 8.4 will also avoid the
> use of themed widgets as these are only available since 8.5.
> 
> Some support is included for Tk 8.6 features (themed spinbox and native
> font chooser for MacOSX and Windows).

Thanks. I've been running with this pretty much all day today; it seems sane. I'll probably push it shortly.

-- 
Shawn.
Previous: Sverre RabbelierNext: Johannes Schindelin
Message 3 of 11 in “git-gui: use themed tk widgets with Tk 8.5”
  1. git-gui: use themed tk widgets with Tk 8.5Pat Thoyts, Jan 26, 2010
  2. Sverre RabbelierJan 26, 2010
  3. Shawn O. PearceJan 28, 2010
  4. Johannes SchindelinJan 28, 2010
  5. Shawn O. PearceJan 28, 2010
  6. Junio C HamanoJan 28, 2010
  7. Shawn O. PearceJan 28, 2010
  8. git gui: Quote git path properly when starting another gui in a submoduleJens Lehmann, Jan 28, 2010
  9. Shawn O. PearceJan 28, 2010
  10. Johannes SixtFeb 2, 2010
  11. Pat ThoytsFeb 2, 2010

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.