[wxruby-users] help with project viewer
Mario Steele
mario at ruby-im.net
Fri Jan 16 12:11:47 EST 2009
Hey James,
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: http://wxride.rubyforge.org/svn/branch/alpha/wxRIDE/
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.
hth,
Mario
On Fri, Jan 16, 2009 at 8:15 AM, James Waudby <lists at ruby-forum.com> wrote:
> I've just begun using wxRuby and I've been finding my feet with things
> quite easily, however there's one thing I'm uncertain of at the moment
> which I'd like to do and that's a project viewer.
>
> I know that it would have to be using TreeCtrl.
>
> If someone could explain to me how to build a custom Tree with my own
> folders and files that would be really appreciated.
>
> I'm using it as a learning experience so that I can aid in creating a
> new IDE for the Sphere games engine. So there's already a file structure
> I just don't know how to recreate in in wxRuby.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
--
Mario Steele
http://www.trilake.net
http://www.ruby-im.net
http://rubyforge.org/projects/wxruby/
http://rubyforge.org/projects/wxride/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090116/e1712daf/attachment.html>
More information about the wxruby-users
mailing list