<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 11:34:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Add icons to GtkMenu]]></title>
      <guid>http://www.phpdeveloper.org/news/6871</guid>
      <link>http://www.phpdeveloper.org/news/6871</link>
      <description><![CDATA[<p>
On of the next steps up from building a regular <a href="http://www.phpdeveloper.org/news/6834">menubar</a> or <a href="http://www.phpdeveloper.org/news/6827">toolbar</a> in your PHP-GTK application is the addition of icons to help liven up the menus and help users quickly find what they want. <a href="http://www.php-gtk.eu/code-snippets/add-icons-to-gtkmenu">This new tutorial</a> on the PHP-GTK Community Site aims to help with just that.
</p>
<blockquote>
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.
</blockquote>
<p>
They start with <a href="http://www.php-gtk.eu/code-snippets/add-icons-to-gtkmenu">a usage example</a> before getting into the code of the class - a <a href="http://www.php-gtk.eu/files/menuicon.png">simple menu</a> with a "file" and "help" top menus and under "file", "open" and "exit". 
</p>
<p>
The complete code for the class is included in <a href="http://www.php-gtk.eu/code-snippets/add-icons-to-gtkmenu">the post</a> so it's a simple cut and paste away from being yours.
</p>]]></description>
      <pubDate>Tue, 12 Dec 2006 08:56:00 -0600</pubDate>
    </item>
  </channel>
</rss>
