Is it possible to use RubyGnome2's/QtRuby's HTML renderers to make UI for a Ruby script?

Posted by mjr on Programmers See other posts from Programmers or by mjr
Published on 2012-07-29T23:41:50Z Indexed on 2012/09/17 15:52 UTC
Read the original article Hit count: 421

Filed under:
|
|
|
|

I'd like to make a graphical user interface for my script, instead of running it from the console. I'm aware there's a wealth of UI libraries for Ruby, but I'm quite familiar with HTML and CSS and I'd like to use them for building an interface. So the question is:

Is it possible to use a HTML rendering library to make such an UI? From what I understand, it's relatively easy to put in a HTML rendered view of something, but is it possible to communicate back with the script? Like when I push that big red button, it actually tells the script to act on it? Obviously it's possible if the script run on the server side, but I'd like to run it as a desktop application.

© Programmers or respective owner

Related posts about html

Related posts about ruby