[wxruby-users] wxruby, XRC, DialogBlock
Joshua Lefkowitz
lists at ruby-forum.com
Thu Mar 6 00:10:16 EST 2008
Alex Fenton wrote:
> The wxruby example samples/xrc/xrc_sample.rb shows how to load an
> XRC-based layout into a wxRuby program.
>
> To save time, I also recommend that you have a look at the tool
> 'xrcise'.
> alex
Thanks for your help. I am slowly learning how to do this.
I followed your suggestions. I am able to generate the XRC file from
DialogBLock. Then, I am able to generate the my_frame.rb file. But,
when I try to integrate it by using the code posted on the tutorial in
the creating a code in SciTE. I get the following syntax error in two
lines of the source:
syntax error, unexpected '\n', expecting tCOLON2 or '[' or '.'
I tried figuring out how to change the code myself to resolve this
error, but I'm just not good enough...yet
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list