<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: treeview tips</title>
	<atom:link href="http://blogs.gnome.org/otte/2009/07/10/treeview-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/</link>
	<description>Swfdec, GStreamer, Cairo, GNOME, me</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:43:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Kost</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1119</link>
		<dc:creator>Stefan Kost</dc:creator>
		<pubDate>Thu, 16 Jul 2009 10:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1119</guid>
		<description>Isn&#039;t gtk_cell_renderer_set_fixed_size(renderer, 1, -1); setting the width to &quot;1&quot;?</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t gtk_cell_renderer_set_fixed_size(renderer, 1, -1); setting the width to &#8220;1&#8243;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: otte</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1118</link>
		<dc:creator>otte</dc:creator>
		<pubDate>Sun, 12 Jul 2009 11:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1118</guid>
		<description>While there might be some optimizations that can be done to rduce the pain, when people do bad things, in general these problems cannot be &quot;fixed&quot;. All of the things I mentioned are things that are at least O(n), so need to be done at least once per row. And the more rows you add, the more time it takes.

So in the end this blog post is just a call to people to be aware that a lot of stuff they do in tree views is stuff that&#039;s in an inner loop. And inner loops just have to be fast.</description>
		<content:encoded><![CDATA[<p>While there might be some optimizations that can be done to rduce the pain, when people do bad things, in general these problems cannot be &#8220;fixed&#8221;. All of the things I mentioned are things that are at least O(n), so need to be done at least once per row. And the more rows you add, the more time it takes.</p>
<p>So in the end this blog post is just a call to people to be aware that a lot of stuff they do in tree views is stuff that&#8217;s in an inner loop. And inner loops just have to be fast.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1115</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sat, 11 Jul 2009 00:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1115</guid>
		<description>Is it possible to &quot;fix&quot; GtkTreeView to avoid these issues?</description>
		<content:encoded><![CDATA[<p>Is it possible to &#8220;fix&#8221; GtkTreeView to avoid these issues?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rui</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1114</link>
		<dc:creator>Rui</dc:creator>
		<pubDate>Fri, 10 Jul 2009 21:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1114</guid>
		<description>Ei, nice tips! Maybe some of this text should go into the gtk+ docs?</description>
		<content:encoded><![CDATA[<p>Ei, nice tips! Maybe some of this text should go into the gtk+ docs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: otte</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1113</link>
		<dc:creator>otte</dc:creator>
		<pubDate>Fri, 10 Jul 2009 21:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1113</guid>
		<description>Benoît, that is one of the cases where it probably is useful. In fact, this is what the _set_attributes() function does when you set a number column as the text property of a text cell renderer.
You just have to be aware of the issues I pointed out above.</description>
		<content:encoded><![CDATA[<p>Benoît, that is one of the cases where it probably is useful. In fact, this is what the _set_attributes() function does when you set a number column as the text property of a text cell renderer.<br />
You just have to be aware of the issues I pointed out above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoît</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1112</link>
		<dc:creator>Benoît</dc:creator>
		<pubDate>Fri, 10 Jul 2009 20:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1112</guid>
		<description>I&#039;m quite disappointed about gtk_tree_view_column_set_cell_data_func . A while ago, i moved a lot of code to it, thinking it was the best way to format numbers. Now you tell me it&#039;s quite slow ...</description>
		<content:encoded><![CDATA[<p>I&#8217;m quite disappointed about gtk_tree_view_column_set_cell_data_func . A while ago, i moved a lot of code to it, thinking it was the best way to format numbers. Now you tell me it&#8217;s quite slow &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Tunek</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1111</link>
		<dc:creator>Andreas Tunek</dc:creator>
		<pubDate>Fri, 10 Jul 2009 20:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1111</guid>
		<description>You rock! Please keep up the good work!</description>
		<content:encoded><![CDATA[<p>You rock! Please keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lariq</title>
		<link>http://blogs.gnome.org/otte/2009/07/10/treeview-tips/comment-page-1/#comment-1110</link>
		<dc:creator>lariq</dc:creator>
		<pubDate>Fri, 10 Jul 2009 19:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/otte/?p=187#comment-1110</guid>
		<description>GtkTreeView can give you a hard time. Especially if you do things like using a custom model forwarded to a GtkTreeViewFilter with a custom view and then you want to do drag&#039;n&#039;drop from different sources. Fun</description>
		<content:encoded><![CDATA[<p>GtkTreeView can give you a hard time. Especially if you do things like using a custom model forwarded to a GtkTreeViewFilter with a custom view and then you want to do drag&#8217;n'drop from different sources. Fun</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/otte/2009/07/10/treeview-tips/feed/ ) in 1.26434 seconds, on Feb 10th, 2012 at 1:55 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 10th, 2012 at 2:55 pm UTC -->
