From: Sharon Phillips Date: 2007-11-30T21:02:32+09:00 Subject: Re: Ruby + GUI? > 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 Cheers, Dave