From: Olivier Andrieu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16386.28767.842624.81425 at akasha.ijm.jussieu.fr> Date: Mon, 12 Jan 2004 11:01:03 +0100 To: , Richard Jones Cc: lablgtk at kaba.or.jp Subject: Re: Render into an existing XWindow ID? In-Reply-To: <20040112091805.GA1067 at gallu.homelinux.org> References: <20040111155334.GA14026 at redhat.com> <20040112091805.GA1067@gallu.homelinux.org> sylvain.le-gall@polytechnique.org [Monday 12 January 2004] : > > 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. Yes, it's GWindow.plug . -- Olivier