21.3.8 GUI ThemesThis is NOT the latest copy of this book; click here for the latest version.
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.
Take a look at the screenshots below to see the same Glade GUI interface themed in different ways:



|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|