Created
October 30, 2011 16:45
-
-
Save dockimbel/1326101 to your computer and use it in GitHub Desktop.
Webkit-based browser by Kaj de Vos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Red/System [ | |
Title: "Lazy Sunday Afternoon Browser" | |
Author: "Kaj de Vos" | |
] | |
#include %GTK-WebKit.reds | |
home: "http://www.red-lang.org/" | |
address: function [ | |
[cdecl] | |
widget [gtk-entry!] | |
data [gtk-scrolled-window!] | |
][ | |
web-browse web-get-view data gtk-get-entry-text widget | |
] | |
browser: browse home | |
gtk-view window [ | |
gtk-position-center | |
"Lazy Sunday Afternoon Browser" | |
vbox [ | |
field [home :address browser] gtk-tight | |
browser gtk-full | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep, a web browser engine is a huge machinery, alas. At least on most Linux and probably BSD systems, the system supports installing them or has it all preinstalled already.
However, I do think you can pick just that one library out of the GStreamer distribution.