Hey James,<br><br>If your interested in a way to setup projects, take a look at my IDE that I've been working on. Currently, I'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. PrjTree.rb is the current one used by the cold, and ProjectTree.rb is the old one. 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"><<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>></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've just begun using wxRuby and I've been finding my feet with things<br>
quite easily, however there's one thing I'm uncertain of at the moment<br>
which I'd like to do and that'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'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's already a file structure<br>
I just don'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>