<?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>Tue, 21 May 2013 18:15:28 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Building a submenu in a GtkMenubar]]></title>
      <guid>http://www.phpdeveloper.org/news/6834</guid>
      <link>http://www.phpdeveloper.org/news/6834</link>
      <description><![CDATA[<p>
The PHP-GTK Community site is back again today with <a href="http://www.php-gtk.eu/code-snippets/overview-gtkmenubar-submenu">another quick tutorial</a> showing how to build a submenu with the help of the <a href="http://www.php-gtk.eu/code-snippets/overview-gtkmenubar">GtkMenubar</a> widget.
</p>
<p>
It's broken us into the key sections - details, a visual tree of the structure, the logic tree and relationships, and, finally the source code. It's a pretty simple process of creating the menu and appending the elements onto it, much like a normal drop down menu. The key is in the set_submenu function, creating a new object for the code to append the submenu elements to. The rest is just simple appends.
</p>
<p>
They've also <a href="http://www.php-gtk.eu/files/gtk-menubar-overview-submenu.png">included a screenshot</a> to illustrate the end result.
</p>]]></description>
      <pubDate>Wed, 06 Dec 2006 08:55:00 -0600</pubDate>
    </item>
  </channel>
</rss>
