GTK Engines

There are a lot of ThemeEngines. Some are highly configurable, some aren't configurable beyond color choices. There are three basic types of ThemeEngines.

What is a GTK Engine?

GTK has about 20 few drawing functions internally, which can be overridden by the GTK engine. GTK itself has only a very basic implementation for these drawing functions, and all widgets have the same 3d look to them. GTK engines override the buildin functions used by GTK. This enables them to draw whatever they want.

The Pixmap Approach

Every aspect of every widget is drawn from a user-specifiable pixmap image. Popular engines in this grouping are:

  • Crux

  • Pixmap

  • SVG (There is a SVG engine, but as far as I know, there are problems because it doesn't have the equivalent of borders. -- BenjaminBerg 2005-06-05 12:10:39)

  • eXperience

The Single-Look Approach

A single, uniform look is used for all widgets; generally only allowing for color variations or minor changes to widget style. Some of the more well known engines in this grouping are:

The Flexible Approach

The engine internally allows for multiple ways of drawing things so the user can configure it to draw what he wants but it doesn't have the overhead of pixmap images. The engines in this category are:

Previous chapter: Metacity Themes

Back to Tutorial start page

No other chapters

Attic/GnomeArt/Tutorials/GtkEngines (last edited 2013-11-27 14:33:54 by WilliamJonMcCann)