Hi all, I''m new to Ruby world, and before starting coding I''m looking for a GUI library. Fxruby seems very interesting to me, but I haven''t found if it supports CSS? In my project, I will have to display HTML pages, and CSS support will be a huge plus for me. Thanks and kind regards, Vitor Meireles De Sousa email: desousa.vitor at gmail.com mobile: +41 (0)76 349 80 92 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20101212/2a7b4383/attachment.html>
Vitor, FXRuby, as far as I know, does not directly support HTML and/or CSS. If you must support HTML and CSS, I recommend that you learn Ruby on Rails (not a trivial undertaking) and you can then use your or a client''s web browser locally to display HTML with CSS. Good luck. I wish FXRuby had the capability you want. I could have used it. Ralph Sunday, December 12, 2010, 11:33:37 AM, you wrote: Hi all, I''m new to Ruby world, and before starting coding I''m looking for a GUI library. Fxruby seems very interesting to me, but I haven''t found if it supports CSS? In my project, I will have to display HTML pages, and CSS support will be a huge plus for me. Thanks and kind regards, Vitor Meireles De Sousa email: desousa.vitor at gmail.com mobile: +41 (0)76 349 80 92 -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20101213/6a90fc20/attachment.html>
Vitor, depends on what you want to do. If what you want to create is a web browser, then this is Serious Business(tm) and I don''t think it could be done simply, you would have to write it all yourself. If you want a really really simple web browser, however, wxWidgets and its bindings - wxRuby have basic HTML support - refer to docs for detail, for ex.: http://wxruby.rubyforge.org/doc/htmlwindow.html If you want a full-blown web app, then just create it in Rails or in some simpler libraries (I heartily recommend Camping, its like Rails without all the nasty and boring parts). If you want a really simple way to create desktop applications, I suggest Shoes, the simplest GUI library around to date (I''m serious here). You can find something about it online, just be aware it''s not just a library (or a gem), it installs by itself and runs by itself (it includes a Ruby interpreter). I hope I''m helpful ;) -- Matma Rex - http://matma-rex.prv.pl/
I don''t think fxruby will most likely be okay as a desktop GUI front end but not sure about it being used to push a web page out through the net. you''d have to use the net/http bits. Maybe sinatra or shoes would be more what you''re after? I''ve not done a lot of web dev stuff so hope you get more feed back from others more experienced with this side of things. rgds, Dave. ________________________________ From: Vitor De Sousa <desousa.vitor at gmail.com> To: fxruby-users at rubyforge.org Sent: Mon, 13 December, 2010 7:33:37 AM Subject: [fxruby-users] CSS support in fxruby? Hi all, I''m new to Ruby world, and before starting coding I''m looking for a GUI library. Fxruby seems very interesting to me, but I haven''t found if it supports CSS? In my project, I will have to display HTML pages, and CSS support will be a huge plus for me. Thanks and kind regards, Vitor Meireles De Sousa email: desousa.vitor at gmail.com mobile: +41 (0)76 349 80 92 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20101214/88d0272b/attachment-0001.html>