From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA19905; Sun, 22 Sep 2002 10:10:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA19767 for ; Sun, 22 Sep 2002 10:10:14 +0200 (MET DST) Received: from holmes.infopro.spb.su (holmes.infopro.spb.su [195.242.2.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8M8AC510253 for ; Sun, 22 Sep 2002 10:10:13 +0200 (MET DST) Received: from stapleton.peterlink.ru (stapleton.peterlink.ru [195.242.2.5]) by holmes.infopro.spb.su (8.9.1/8.9.1) with ESMTP id MAA27558 for ; Sun, 22 Sep 2002 12:10:12 +0400 (MSD) Received: from spb-3-108.dialup.peterlink.ru (IDENT:mitya@spb-3-108.dialup.peterlink.ru [195.242.18.108]) by stapleton.peterlink.ru (8.12.3/8.12.3) with ESMTP id g8M89rQT058294 for ; Sun, 22 Sep 2002 12:09:54 +0400 (MSD) Subject: [Caml-list] LablGTK: how to create a widget from external pointer From: Dmitry Lomov To: caml-list@inria.fr Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 22 Sep 2002 12:12:39 +0400 Message-Id: <1032682361.27553.2.camel@eddie> Mime-Version: 1.0 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I do not know whether LablGTK questions are appropriate here, so I apologize in advance... I am writing a plugin for some GTK program (JPilot, actually) and I would like to write a GUI part of plugin in OCaml. Plugin shows its GUI in parent program's window, and it obtains parent GTK widgets from parent program. This of course happens in C world, that is, in C world I have one or two 'GTKWidget*'s Is it possible to move those pointers to LablGTK world, that is to obtain GObj.widget from them? Sorry if this is a FAQ... Thanks in advance, Dmitry -- Dmitry Lomov IntelliJ Labs / JetBrains Inc. http://www.intellij.com "Develop with pleasure!" ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners