StatusDillo version 0.7.0 integrated this patch, so it is not needed anymore. The C code below given as an example is still valid.
AboutThis patch allows to embed Dillo in another GTK+ application via the GtkPlug and GtkSocket mechanism. This permits to use Dillo as an integrated HTML browser or viewer. For example, an application should typically create a GtkSocket, then it should get the XID of the created widget and run dillo with dillo -xid XID URL, where URL is the URL to browse, and XID is the decimal X window ID. For example:
At the Dillo & Sylpheed page, there is a real-life example on how a mail client can make use of this.
2002-11-01The patch for Dillo v0.7.0pre-v1 is here: dillo-0.7.0-pre-v1-cli-xid.patch. It already contains the command line patch.
2002-08-13Get the patch from here: dillo-cvs-2002-08-13-xid.patch.
This patch is to be applied after applying the command line patch.
2002-08-06Get the patch from here: dillo-cvs-2002-08-06-cli-xid.patch
This patch is to be applied after applying the command line patch. In contrast to the older patch below, the URL/FILE must be given after the command line options and the command line option is now -x XID.
2002-05-18Get the patch from here: dillo-cvs-2002-05-18-xid.patch
From within dillo directory, apply with patch -p0 < dillo-cvs-2002-05-18-xid.patch. Then build dillo as usual. The new option is -xid XID where XID is the afore mentioned X window ID. If relevant, the URL to browse must be given as the first argument.