From: pete Date: 2007-11-30T23:20:00+09:00 Subject: Re: Ruby + GUI? On Nov 30, 5:02 am, 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 > > Cheers, > Dave Great! Thanks everyone. All I really wanted was a good starting place, it seems there's a lot of options out there and I'm pretty limited on time to get this project done. This project in particular will be on Windows (sorry), but I'm also a Linux user and most of the development I do is in the Linux environment. I'll take alook at all of these and see what best fits for my app. Thanks again!