in reply to Embedding Programs with Gtk2::Socket
As a side note, I had problems compiling your C program, until I added
moreover, I was unable to run the perl program: I let it collect the xid by:#include <stdio.h> #include <X11/Xlib.h> #include <X11/Xutil.h>
(where getwindowid2 is your C program, which outputs just the numerical idof any window named $windowname)$window_id_of_program_to_embed=`getwindowid2 $windowname`;
the program just creates an empty box, without errors/warnings, and the app to be embedded just stays there.
Any idea?
alessandro
|
|---|