Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Building Your Own System Tray Application Using PHP-GTK
Sep 30, 2008 @ 12:32:06

DevShed continues their look at building PHP-GTK applications with this new tutorial covering something a little different - making applications that live in the system tray.

You have seen how easy it is to write your own desktop applications using PHP-GTK in the article "Building Your Own Desktop Notepad Application Using PHP-GTK." Once you have learned how to write desktop applications using PHP-GTK, you will be pleased to know that writing system tray applications is just a matter of adding a couple of lines of code. The bulk of your code remains exactly the same!

They create a GtkStatusIcon widget (resulting in a generic file icon in the system tray) and show how to modify the previous Notepad application to respond to being clicked.

tagged: phpgtk tutorial system tray application notepad


Building Your Own Desktop Notepad Application Using PHP-GTK
Sep 23, 2008 @ 13:07:36

In this new tutorial from DevShed, they show how to take that PHP-GTK introductory knowledge a step further and create a simple desktop "notepad" application (corss-platform, of course).

If you think building a desktop application such as Notepad is difficult, think again. If you use PHP-GTK, it's almost ridiculously easy. This article will show you how. By the time you're done, you'll have a full cross-platform application in about 100 lines.

You need to already have the latest PHP-GTK version installed and have a basic knowledge of how to make an application before you start. All code is included as well as explanations as to where all of the parts go (including a simple find, time/date output, select all and how to tell if the user has modified the contents of the file).

tagged: phpgtk tutorial text edit notepad application crossplatform