<?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 13:13:13 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Easily empty GtkContainer/GtkWindow]]></title>
      <guid>http://www.phpdeveloper.org/news/7407</guid>
      <link>http://www.phpdeveloper.org/news/7407</link>
      <description><![CDATA[<p>
The PHP-GTK Community site has <a href="http://www.php-gtk.eu/code-snippets/empty-container">a quick new post</a> today showing how to create/empty out a GtkContainer or GtkWindow in your code.
</p>
<blockquote>
This function provides an easy way to empty a GtkWindow/GtkContainer. I use it when i need to refresh a part of my app by replacing some widgets with others. It can destroy or preserve the child widgets depending on your needs.
</blockquote>
<p>
They <a href="http://www.php-gtk.eu/code-snippets/empty-container">provide both</a> the code itself and a sample usage - a three line script that shows three ways to use it - empty out a container, empty out the container but keep its children intact, and how to use it in the event of a button click.
</p>]]></description>
      <pubDate>Thu, 08 Mar 2007 08:42:00 -0600</pubDate>
    </item>
  </channel>
</rss>
