<?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, 22 May 2013 07:58:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Elizabeth Smith's Blog: Treeviews and Cell Renderer Properties - Practical PHP-GTK]]></title>
      <guid>http://www.phpdeveloper.org/news/11156</guid>
      <link>http://www.phpdeveloper.org/news/11156</link>
      <description><![CDATA[<p>
New on her blog <i>Elizabeth Smith</i> talks about <a href="http://elizabethmariesmith.com/2008/10/treeviews-and-cell-renderer-properties-practical-php-gtk/">tree views and rendering</a> in a PHP-GTK application (with sample code included).
</p>
<blockquote>
I get this question a lot - "How do I change the background color of a single cell in a treeview?" If you look around you'll see a couple of ways of doing this using display callbacks and other highly processor and memory intensive methods - but there's a much simpler way.
</blockquote>
<p>
She explains how the tree views are rendered (with the GtkTreeView component, of course) via a "cell renderer" with different variations based on the contents of the cell - each with their own properties. Her example code illustrates how to manipulate this by making the tree object and attaching other columns to it with custom background properties. A quick screencast is included to show it in action.
</p>]]></description>
      <pubDate>Tue, 07 Oct 2008 07:53:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Make Me Pulse Blog: Yui Treeview with Php tidy]]></title>
      <guid>http://www.phpdeveloper.org/news/9476</guid>
      <link>http://www.phpdeveloper.org/news/9476</link>
      <description><![CDATA[<p>
<i>Antoine Ughetto</i> has <a href="http://blog.makemepulse.com/2008/01/22/yui-treeview-with-php-tidy/">quickly posted</a> about an interesting combination - <a href="http://fr.php.net/manual/en/ref.tidy.php">php_tidy</a> and the <a href="http://developer.yahoo.com/yui/treeview/">Yahoo! YUI Treeview</a> to easily make a nested, recursive list.
</p>
<blockquote>
A rapid experimentation with php tidy and Yui treeview for rendering the DOM of a specific page. We user the tidy_parse_file() and a simple recursive function to display a treeview.
</blockquote>
<p>
You can <a href="http://dev.makemepulse.com/tidy_yui/">check out an example</a> over on their demo page. Plug in your website of choice and get the resulting HTML stricture (all cleaned up) represented as a nice, ordered tree list.
</p>]]></description>
      <pubDate>Wed, 23 Jan 2008 11:18:00 -0600</pubDate>
    </item>
  </channel>
</rss>
