GUI Themes

Some people say that unthemed Gnome looks a little unsightly, and they might be right. However, luckily all applications made using PHP-GTK happily work with GTK+ 1.x themes with no additional work. I myself have Gnome 2.6 installed, and so I needed to specifically install a GTK1 theme as GTK2 themes do not work with PHP-GTK or other GTK1 apps.

Anyhow, themes are all transparent to your scripts - you cannot tell whether a particular theme is enabled or not, and neither should you need to as your scripts will adapt to what the user selects.


Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Distributing your apps >>

Previous chapter: Using Custom Parameters

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.