Re: [Java-gnome-developer] Cross-process Embedding
Brought to you by:
afcowie
From: Remy S. <rem...@gm...> - 2006-07-12 23:48:21
|
I've attempted this personally in the past, but as we had no concept of a GdkNativeWindow, I stopped my work and dropped the issue. From the gdktypes.h header file, we see that... #ifdef GDK_NATIVE_WINDoW_POINTER typedef gpointer GdkNativeWindow; #else typedef guint32 GdkNativeWindow; #endif I'm unsure as to whether this is a big issue or not as my proficiency in C is rather poor, but I present this information to you all anyway in hopes that it may be useful for would-be implementors. Regards, Rem On 7/10/06, Andrew Cowie <an...@op...> wrote: > > On Wed, 2006-07-05 at 08:39 -0700, Josh Hope wrote: > > 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. > > Really? Huh. Hm. Oops; Bug. > > > Is this embedding implementable in Java-GTK+? > > Certainly. > > Like all open source software, java-gnome is what people create. If I > had to guess, this shows the classic signs of being something for which > no one who knew what they were doing [and more to the point what they > wanted and how it is supposed to work]. > > Given that you do, it'd be terrific to get GtkPlug/GtkSocket working... > > In rough order, we'd need: > > 1) an API that makes sense > 2) some notion of what needs to be implemented > 3) patches :) > > If you want to pick this up, I'd suggest starting out with a > skeleton/snippet of what using this might look like. If you were to > write that in an email to jav...@li... > and/or open a bug against java-gnome:libgtk-java that'd be great! > > AfC > London > > -- > Andrew Frederick Cowie > > Technology strategy, managing change, establishing procedures, > and executing successful upgrades to mission critical business > infrastructure. > > http://www.operationaldynamics.com/ > > Sydney New York Toronto London > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |