From: Alpha Blue Date: 2010-01-21T01:46:21+09:00 Subject: Re: WxRuby and DialogBlocks Questions Adding some more questions: I see that there is a rake task that can be created using: file 'lib/gui_base_classes.rb' => 'xrc/my_project.xrc' do | t | sh "xrcise -o #{t.name} xrc/project.xrc" end .. which is supposed to be able to automatically update your project if something changes. However, there's no example explanation of what this does exactly. For instance, what does gui_base_classes.rb correspond to? What is in that file? Is project.xrc just an overall xrc file for the entire project? Or, is it just one xrc file that points to multiple xrc files? Again, no explanation or example referenced with the rake task. When I create a new project in dialogblocks, it asks me the projects xrc name. Let's say for example, I make it project.xrc. When I create a first frame element called parent_window and then decide to let the xrc be named to parent_window.rb, when I save my project later on, I see the following in the ui folder. \ui\project.xrc \ui\parent_window.xrc This leads me to believe that I will have multiple xrc files for each frame? Or, am I mistaken.. Which file would I be using in the rake task above? Again, following the tutorials outlined here: http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise What I understand 100% is that xrcise is basically creating ruby file(s) that contain all of the information pertaining to the elements of my program. And, all I have to create are the listener events for each piece of the gui with my modules and classes. What I don't understand is the inner-workings of all of this and how it ties in together in terms of files, folder structure, requires, and includes... -- Posted via http://www.ruby-forum.com/.