Does anyone know of a simple and at least somewhat cross-platform
way to embed a browser in a GUI with one of the available toolkits?
WHAT browser you are searching for?
web browser (i.e. HTML rendering engine)
[ ] textual
[ ] graphical
file browser (i.e. File selection means)
[ ] textual
[ ] graphical
Gis,
Josef ‘Jupp’ Schugt
···
–
/“”“”\ e-mails that do not contain plain text, are larger than |
/ STOP \ 50 KiB, are unsolicited, or contain binarys are ignored |
\ SPAM / unless payment from your side or technical reasons give |
____/ rise to a non-standard treatment. ______________________|
You could use a QTextBrowser, but I don’t know if this is available for
Qt 2.0, and Ruby doesn’t appear to have Qt 3.0 bindings.
You could also consider using GtkHtml (there are already Ruby bindings
for it) or GtkMozEmbed (no Ruby bindings yet, but it shouldn’t be hard).
Both of these require Gtk.
Paul
···
On Fri, May 02, 2003 at 11:25:55PM +0900, Chad Fowler wrote:
Hello Rubyists!
I’m attempting to overcome my fear of GUIs. Playing with FXRuby right now
(great stuff, but you already knew that).
Does anyone know of a simple and at least somewhat cross-platform way to
embed a browser in a GUI with one of the available toolkits?
Does anyone know of a simple and at least somewhat cross-platform
way to embed a WEB browser in a GUI with one of the
available toolkits?
WHAT browser you are searching for?
web browser (i.e. HTML rendering engine)
[ ] textual
[X] graphical
Good question. I “checked” what I was looking for above in your nifty form.
Chad
···
----- Original Message -----
From: “Josef ‘Jupp’ Schugt” jupp@gmx.de
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Saturday, May 03, 2003 5:03 AM
Subject: Re: Embedding a browser in a GUI
Technically it's impossible with FOX and dammed hard work
to do it with TK. None of them are willing to accept patches
to support this kind of third party widget integration.
The only toolkit that supports this is WX and perhaps QT (don't know)
but there is no non alpha ruby binding.
Does anyone know of a simple and at least somewhat cross-platform
way to embed a WEB browser in a GUI with one of the
^^^^^^^^^^^^^^^^^^^^
Note that you did use XML, not HTML. HTML would be “WEB”.
WHAT browser you are searching for?
web browser (i.e. HTML rendering engine)
[ ] textual
[X] graphical
Good question. I “checked” what I was looking for above in your
nifty form.
If you would have checked ‘textual’ there would be the possibility to
embed lynx - available for most platforms.
The ultimate cross-platform solution would be an HTML rendering
library that comes as a Ruby extension. There is a lot of Free
Software HTML renderering libraries out there. It should be possible
to write Ruby bindings for one of them. The graphical output could be
done using Tk or any other toolkit that allows graphical output and
is capable of reading in mouse moves and clicks.
Gis,
Josef ‘Jupp’ Schugt
···
–
/“”“”\ e-mails that do not contain plain text, are larger than |
/ STOP \ 50 KiB, are unsolicited, or contain binarys are ignored |
\ SPAM / unless payment from your side or technical reasons give |
____/ rise to a non-standard treatment. ______________________|