Browse thread
[Caml-list] LablGTK: how to create a widget from external pointer
- Dmitry Lomov
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dmitry Lomov <dsl@i...> |
| Subject: | [Caml-list] LablGTK: how to create a widget from external pointer |
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