« Return to Thread: Ruby GUI tools

Re: Ruby GUI tools

by Logan Barnett :: Rate this Message:

Reply to Author | View in Thread


On Dec 14, 2008, at 10:04 AM, James Britt wrote:

>
>
> Martin Krauskopf wrote:
>>
>> Dmitry Svintsov wrote:
>>> Hello,
>>>
>>> Could you inform me: Is it possible use GUI Builder for Ruby ? And  
>>> how
>>> if yes.
>>
>> I've never tried so far, but I think that Monkeybars provides some  
>> level
>> of integration which aim is to provide the ability do design UI in  
>> the
>> NetBeans GUI builder and write the underneath code in Ruby.
>>
>>   http://monkeybars.rubyforge.org/
>>
>>
>
> Monkeybars is able to use  pre-compiled UI class files.  It doesn't  
> matter
> how you create them; NetBeans provides a great tool for this, so it  
> figures
> into the demos (and gets heavy use at Happy Camper Studios).  But  
> there's no
> actual integration between Monkeybars and Netbeans per se, other  
> than that
> Netbeans gives you both a  solid WYSIWYG tool and  a Ruby code editor.
>
> Myself, I use Netbeans to create the UI files then use vi to edit  
> the Ruby
> code that uses them.    But that's me; the Netbeans Ruby editor is  
> quite
> good, so you can do all your Swing design and Ruby coding there.
>
> Note that if you want to use Netbeans with Monkeybars + JRuby you  
> need to
> make your project a *Java* project, not a Ruby project.  The  
> Monkeybars
> screencasts should explain the hows and whys for this (basically,  
> Netbeans
> does not offer a proper hybrid JRuby project type).
>

If you take the route of Netbeans + Monkeybars, you won't write a  
single line of Java, even though Netbeans generates all UI code as  
Java code. If you ever need add components dynamically, you can still  
do so with (J)Ruby code.

> --
> View this message in context: http://www.nabble.com/Ruby-GUI-tools-tp20998497p21002171.html
> Sent from the NetBeans Ruby Project Developers (not for user help)  
> mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: Ruby GUI tools