Theming

One of the large benefits of using a GTK+ (or Qt)-based API is that the widget set can be themed. Users are able to install any number of themes (or write their own) to control how applications look. While this can add a testing overhead, they will behave the same across all platforms so the burden is somewhat reduced.

Let's see a few different themes applied to our GoMail application illustrated here, starting with a great light theme named Clearlooks.

  • The Clearlooks theme on Linux:

  • Compose in Clearlooks:

On Windows, the default ...

Get Hands-On GUI Application Development in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.