* [Caml-list] LablGTK: how to create a widget from external pointer
@ 2002-09-22 8:12 Dmitry Lomov
2002-09-22 10:15 ` Dmitry Lomov
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Lomov @ 2002-09-22 8:12 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] LablGTK: how to create a widget from external pointer
2002-09-22 8:12 [Caml-list] LablGTK: how to create a widget from external pointer Dmitry Lomov
@ 2002-09-22 10:15 ` Dmitry Lomov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Lomov @ 2002-09-22 10:15 UTC (permalink / raw)
To: caml-list
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,
Dmitry
> 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.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-22 10:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22 8:12 [Caml-list] LablGTK: how to create a widget from external pointer Dmitry Lomov
2002-09-22 10:15 ` Dmitry Lomov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox