[wxruby-users] wxruby with wxglade?

Alex Fenton
Wed, 23 Apr 2008 11:10:20 -0000

Christopher Choi wrote:
> I''ve been trying to find out how to use wxglade with ruby in
google,
> but I haven''t been able to find anything on the topic so far, so I
was
> wondering what do you guys use instead? I mean you don''t really
hand
> code all the gui stuff do you, you must have some visual gui designer
> available?
Use wxGlade but save the resulting files as "XRC". This is an XML
format
you can load into ruby.

http://wxruby.rubyforge.org/wiki/wiki.pl?Using_GUI_Designers
http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise

And see the example ''samples/xrc/xrc_sample.rb''

a