P
pete
Hi-
What would you all say is the best option for creating GUIs with Ruby?
Thanks for your inputs.
What would you all say is the best option for creating GUIs with Ruby?
Thanks for your inputs.
Hi-
What would you all say is the best option for creating GUIs with Ruby?
Thanks for your inputs.
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_onersonnel
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
pete said:This project in particular will be on Windows
Sharon said: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_onersonnel
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
Charles said: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.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.