Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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 Archives:
Bug reports: FAQ:
Beginner's list: