English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] LablGTK: how to create a widget from external pointer
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-22 (10:13)
From: Dmitry Lomov <dsl@i...>
Subject: Re: [Caml-list] LablGTK: how to create a widget from external pointer
After an hour of reading LablGTK sources, it turned out to be pretty
easy. I can share the results if anyone interested.

Sorry for my impatience,

> 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... 
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
"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