[Java-gnome-developer] Cross-process Embedding
Brought to you by:
afcowie
From: Josh H. <jos...@ho...> - 2006-07-05 15:39:46
|
Hello all, I am in the process of creating a shared library that handles cross-process embedding of windows in a GTK+ gui. While the passing of windowIDs has been implemented in C using the GTKPlug and GTKSocket scheme, the Java bindings appear to only contain a Plug class. The constructor for the Plug class requires an argument of type Handle, which itself has no constructor. The API says Handles represent a pointer to a native peer, but I am unaware of how to construct anything but a null Handle. Is this embedding implementable in Java-GTK+? How is a Plug Handle constructed, and can it be constructed from types int or GTKNativeWindow? Best Regards, Josh Hope |