On of the next steps up from building a regular menubar or toolbar in your PHP-GTK application is the addition of icons to help liven up the menus and help users quickly find what they want. This new tutorial on the PHP-GTK Community Site aims to help with just that.
When creating a soft, you'll often want to have a menu like in the majority of graphical softs. It's often clear in your mind but require more code than you want to do simple things using a plain GtkMenu. So here's a class to help you to quickly design such menus and will also allow you to display nice icon in your menus.
The complete code for the class is included in the post so it's a simple cut and paste away from being yours.