Hi folks, We are trying to embed gecko from java using javaxpcom in Linux.I have not been successful so far.
We do a JNI call which create a GTKWidget as shown below.This GtkWidget handle is being given to baseWindow.initWindow from my java code. This is not working? Can someone throw some light as to whether this is possible in the first place. gtk_init(NULL,NULL); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); /*-- Display the window --*/ gtk_widget_realize(window); area=gtk_hbox_new (FALSE, 10); gtk_container_add(GTK_CONTAINER(window),area); gtk_widget_realize(area); gtk_widget_show(area); gtk_main(); and return area to the java code via JNI. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
