Hey James,<br><br>If your interested in a way to setup projects, take a look at my IDE that I&#39;ve been working on.&nbsp; Currently, I&#39;m in the process of re-implementing everything, but you can get a basics for what I did, in the old Subverison repo, found here: <a href="http://wxride.rubyforge.org/svn/branch/alpha/wxRIDE/">http://wxride.rubyforge.org/svn/branch/alpha/wxRIDE/</a><br>
<br>The main points that you would want to look at, is lib/project.rb, and lib/ui/PrjTree.rb and lib/ui/ProjectTree.rb.&nbsp; PrjTree.rb is the current one used by the cold, and ProjectTree.rb is the old one.&nbsp; It gives you two ideas on ways to go about this.<br>
<br>hth,<br><br>Mario<br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 8:15 AM, James Waudby <span dir="ltr">&lt;<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve just begun using wxRuby and I&#39;ve been finding my feet with things<br>
quite easily, however there&#39;s one thing I&#39;m uncertain of at the moment<br>
which I&#39;d like to do and that&#39;s a project viewer.<br>
<br>
I know that it would have to be using TreeCtrl.<br>
<br>
If someone could explain to me how to build a custom Tree with my own<br>
folders and files that would be really appreciated.<br>
<br>
I&#39;m using it as a learning experience so that I can aid in creating a<br>
new IDE for the Sphere games engine. So there&#39;s already a file structure<br>
I just don&#39;t know how to recreate in in wxRuby.<br>
<font color="#888888">--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
_______________________________________________<br>
wxruby-users mailing list<br>
<a href="mailto:wxruby-users@rubyforge.org">wxruby-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/wxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/wxruby-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mario Steele<br><a href="http://www.trilake.net">http://www.trilake.net</a><br><a href="http://www.ruby-im.net">http://www.ruby-im.net</a><br><a href="http://rubyforge.org/projects/wxruby/">http://rubyforge.org/projects/wxruby/</a><br>
<a href="http://rubyforge.org/projects/wxride/">http://rubyforge.org/projects/wxride/</a><br>