Sharon Phillips wrote:
>> What would you all say is the best option for creating GUIs with Ruby?
> 
> Big question is: Which OS, and do you want to run it on any other?
> 
> I'm having fun currently building a framework around Swing using JRuby 
> (yep, the world needs another swing framework :), but then I quite like 
> Swing...
> currently I can create a gui like this (based_on tells it to bind to 
> corresponding fields a Personnel object.)
> 
> class PersonnelView < EntityView
>   based_on  :personnel
> 
>   heading   "Edit Personnel"
>   label     :fullname,
>             :when_blank => '[unknown]',
>             :desc => 'Full name'
>   text      :firstname
>   text      :surname
>   drop_down :security_status,
>             :select_from => ['None', 'Confidential', 'Secret', 'Top 
> Secret']
>   check_box :confidentiality_agreement_signed,
>             :desc => 'agreement signed?'
>   drop_down :contract_role,
>             :select_from => ['PSP', 'Contractor']
>   memo      :comments,
>             :height => 6
> end

Looks slick.

To pete: Lately it seems like lots of folks are settling on JRuby+Swing 
for cross-platform GUI stuff in Ruby. One binary basically runs anywhere 
without recompile or modification. That would be my recommendation.

- Charlie