Date: Mon, 12 Jan 2004 10:18:06 +0100 To: Richard Jones Cc: lablgtk at kaba.or.jp Subject: Re: Render into an existing XWindow ID? Message-ID: <20040112091805.GA1067 at gallu.homelinux.org> References: <20040111155334.GA14026 at redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040111155334.GA14026 at redhat.com> From: On Sun, Jan 11, 2004 at 03:53:34PM +0000, Richard Jones wrote: > > Probably more of a general Gtk question, but ... > > Is it possible to cause lablgtk2 to render into an existing XWindow > ID, instead of creating a new window? > > I'd like my application to render inside an existing app, and the > existing app (which I don't control) can supply me with an XWindow ID > and the size of its subwindow. > > Rich. > Hello, I think what you are looking for is called GtkSocket/GtkPlug. I use this two widget in C to embed application. But i don't know if it exists for ocaml. Regard Sylvain LE GALL