Ruby Forum wxRuby > wxruby with wxglade?

Posted by Christopher Choi (Guest)
on 23.04.2008 13:07
(Received via mailing list)
Hi
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?

I'm new to Gui so please be kind!
Thanks
Chris
Posted by Alex Fenton (Guest)
on 23.04.2008 13:13
(Received via mailing list)
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