<?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>Thu, 23 May 2013 06:16:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Extending GtkMenu class for Popup menu dialog]]></title>
      <guid>http://www.phpdeveloper.org/news/7495</guid>
      <link>http://www.phpdeveloper.org/news/7495</link>
      <description><![CDATA[<p>
On the PHP-GTK Community site today, there's a <a href="http://www.php-gtk.eu/code-snippets/extending-gtkmenu-for-popup-menu">"quick hit" post</a> for extending a GtkMenu object in a PHP-GTK application to create a popup menu dialog.
</p>
<blockquote>
Here is a quick way to build a popup menu supporting event registration from a GtkWidget. Menu items are passed to the class constructor as a list of labels. This class emits activate signals with full context (x,y coordinates, button ...).
</blockquote>
<p>
There's the <a href="http://www.php-gtk.eu/code-snippets/extending-gtkmenu-for-popup-menu">list of the steps</a> that the code will follow and the two code chunks that will make it happen - the sample PHP-GTK app and the class file that handles the menu creation.
</p>]]></description>
      <pubDate>Fri, 23 Mar 2007 11:38:00 -0500</pubDate>
    </item>
  </channel>
</rss>
